@Name(value="torch::nn::NormImplBase<2,torch::nn::BatchNorm2dImpl,torch::nn::BatchNormOptions>") @NoOffset @Properties(inherit=torch.class) public class BatchNorm2dImplBaseBase extends BatchNorm2dImplCloneable
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
BatchNorm2dImplBaseBase(Module pointer)
Downcast constructor.
|
BatchNorm2dImplBaseBase(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Tensor |
bias()
The learned bias.
|
BatchNorm2dImplBaseBase |
bias(Tensor setter) |
Tensor |
num_batches_tracked()
The number of the forward call.
|
BatchNorm2dImplBaseBase |
num_batches_tracked(Tensor setter) |
BatchNormOptions |
options()
The options with which this module was constructed.
|
BatchNorm2dImplBaseBase |
options(BatchNormOptions setter) |
void |
reset_parameters() |
void |
reset_running_stats() |
void |
reset()
reset() must perform initialization of all members with reference
semantics, most importantly parameters, buffers and submodules. |
Tensor |
running_mean()
The running mean.
|
BatchNorm2dImplBaseBase |
running_mean(Tensor setter) |
Tensor |
running_var()
The running variance.
|
BatchNorm2dImplBaseBase |
running_var(Tensor setter) |
Tensor |
weight()
The learned weight.
|
BatchNorm2dImplBaseBase |
weight(Tensor setter) |
asModule, asModule, clone, clone
apply, apply, apply, apply, apply, apply, apply, apply, buffers, buffers, children, eval, is_serializable, is_training, load, modules, modules, name, named_buffers, named_buffers, named_children, named_modules, named_modules, named_modules, named_parameters, named_parameters, parameters, parameters, pretty_print, register_buffer, register_buffer, register_module, register_module, register_parameter, register_parameter, register_parameter, register_parameter, save, shiftLeft, to, to, to, train, unregister_module, unregister_module, zero_grad
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public BatchNorm2dImplBaseBase(Pointer p)
Pointer(Pointer)
.public BatchNorm2dImplBaseBase(Module pointer)
public void reset()
BatchNorm2dImplCloneable
reset()
must perform initialization of all members with reference
semantics, most importantly parameters, buffers and submodules.reset
in class BatchNorm2dImplCloneable
public void reset_running_stats()
public void reset_parameters()
@ByRef public BatchNormOptions options()
public BatchNorm2dImplBaseBase options(BatchNormOptions setter)
@ByRef public Tensor weight()
affine
option was true
upon construction.public BatchNorm2dImplBaseBase weight(Tensor setter)
@ByRef public Tensor bias()
affine
option was true
upon construction.public BatchNorm2dImplBaseBase bias(Tensor setter)
@ByRef public Tensor running_mean()
track_running_stats
option was true
upon
construction.public BatchNorm2dImplBaseBase running_mean(Tensor setter)
@ByRef public Tensor running_var()
track_running_stats
option was true
upon
construction.public BatchNorm2dImplBaseBase running_var(Tensor setter)
@ByRef public Tensor num_batches_tracked()
track_running_stats
option was true
upon
construction.public BatchNorm2dImplBaseBase num_batches_tracked(Tensor setter)
Copyright © 2024. All rights reserved.