Versions in this module Expand all Collapse all v0 v0.0.2 Jun 2, 2022 v0.0.1 Jun 2, 2022 Changes in this version + var File_tensorflow_core_framework_variable_proto protoreflect.FileDescriptor + var VariableAggregation_name = map[int32]string + var VariableAggregation_value = map[string]int32 + var VariableSynchronization_name = map[int32]string + var VariableSynchronization_value = map[string]int32 + type SaveSliceInfoDef struct + FullName string + FullShape []int64 + VarOffset []int64 + VarShape []int64 + func (*SaveSliceInfoDef) Descriptor() ([]byte, []int) + func (*SaveSliceInfoDef) ProtoMessage() + func (x *SaveSliceInfoDef) GetFullName() string + func (x *SaveSliceInfoDef) GetFullShape() []int64 + func (x *SaveSliceInfoDef) GetVarOffset() []int64 + func (x *SaveSliceInfoDef) GetVarShape() []int64 + func (x *SaveSliceInfoDef) ProtoReflect() protoreflect.Message + func (x *SaveSliceInfoDef) Reset() + func (x *SaveSliceInfoDef) String() string + type VariableAggregation int32 + const VariableAggregation_VARIABLE_AGGREGATION_MEAN + const VariableAggregation_VARIABLE_AGGREGATION_NONE + const VariableAggregation_VARIABLE_AGGREGATION_ONLY_FIRST_REPLICA + const VariableAggregation_VARIABLE_AGGREGATION_SUM + func (VariableAggregation) Descriptor() protoreflect.EnumDescriptor + func (VariableAggregation) EnumDescriptor() ([]byte, []int) + func (VariableAggregation) Type() protoreflect.EnumType + func (x VariableAggregation) Enum() *VariableAggregation + func (x VariableAggregation) Number() protoreflect.EnumNumber + func (x VariableAggregation) String() string + type VariableDef struct + Aggregation VariableAggregation + InitialValueName string + InitializerName string + IsResource bool + SaveSliceInfoDef *SaveSliceInfoDef + SnapshotName string + Synchronization VariableSynchronization + Trainable bool + VariableName string + func (*VariableDef) Descriptor() ([]byte, []int) + func (*VariableDef) ProtoMessage() + func (x *VariableDef) GetAggregation() VariableAggregation + func (x *VariableDef) GetInitialValueName() string + func (x *VariableDef) GetInitializerName() string + func (x *VariableDef) GetIsResource() bool + func (x *VariableDef) GetSaveSliceInfoDef() *SaveSliceInfoDef + func (x *VariableDef) GetSnapshotName() string + func (x *VariableDef) GetSynchronization() VariableSynchronization + func (x *VariableDef) GetTrainable() bool + func (x *VariableDef) GetVariableName() string + func (x *VariableDef) ProtoReflect() protoreflect.Message + func (x *VariableDef) Reset() + func (x *VariableDef) String() string + type VariableSynchronization int32 + const VariableSynchronization_VARIABLE_SYNCHRONIZATION_AUTO + const VariableSynchronization_VARIABLE_SYNCHRONIZATION_NONE + const VariableSynchronization_VARIABLE_SYNCHRONIZATION_ON_READ + const VariableSynchronization_VARIABLE_SYNCHRONIZATION_ON_WRITE + func (VariableSynchronization) Descriptor() protoreflect.EnumDescriptor + func (VariableSynchronization) EnumDescriptor() ([]byte, []int) + func (VariableSynchronization) Type() protoreflect.EnumType + func (x VariableSynchronization) Enum() *VariableSynchronization + func (x VariableSynchronization) Number() protoreflect.EnumNumber + func (x VariableSynchronization) String() string