Versions in this module Expand all Collapse all v0 v0.5.8 Jan 19, 2019 Changes in this version + var DataType_name = map[int32]string + var DataType_value = map[string]int32 + type AttrValue struct + Value isAttrValue_Value + func (*AttrValue) Descriptor() ([]byte, []int) + func (*AttrValue) ProtoMessage() + func (*AttrValue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...) + func (m *AttrValue) GetB() bool + func (m *AttrValue) GetF() float32 + func (m *AttrValue) GetFunc() *NameAttrList + func (m *AttrValue) GetI() int64 + func (m *AttrValue) GetList() *AttrValue_ListValue + func (m *AttrValue) GetPlaceholder() string + func (m *AttrValue) GetS() []byte + func (m *AttrValue) GetShape() *TensorShapeProto + func (m *AttrValue) GetTensor() *TensorProto + func (m *AttrValue) GetType() DataType + func (m *AttrValue) GetValue() isAttrValue_Value + func (m *AttrValue) Reset() + func (m *AttrValue) String() string + type AttrValue_B struct + B bool + type AttrValue_F struct + F float32 + type AttrValue_Func struct + Func *NameAttrList + type AttrValue_I struct + I int64 + type AttrValue_List struct + List *AttrValue_ListValue + type AttrValue_ListValue struct + B []bool + F []float32 + Func []*NameAttrList + I []int64 + S [][]byte + Shape []*TensorShapeProto + Tensor []*TensorProto + Type []DataType + func (*AttrValue_ListValue) Descriptor() ([]byte, []int) + func (*AttrValue_ListValue) ProtoMessage() + func (m *AttrValue_ListValue) GetB() []bool + func (m *AttrValue_ListValue) GetF() []float32 + func (m *AttrValue_ListValue) GetFunc() []*NameAttrList + func (m *AttrValue_ListValue) GetI() []int64 + func (m *AttrValue_ListValue) GetS() [][]byte + func (m *AttrValue_ListValue) GetShape() []*TensorShapeProto + func (m *AttrValue_ListValue) GetTensor() []*TensorProto + func (m *AttrValue_ListValue) GetType() []DataType + func (m *AttrValue_ListValue) Reset() + func (m *AttrValue_ListValue) String() string + type AttrValue_Placeholder struct + Placeholder string + type AttrValue_S struct + S []byte + type AttrValue_Shape struct + Shape *TensorShapeProto + type AttrValue_Tensor struct + Tensor *TensorProto + type AttrValue_Type struct + Type DataType + type DataType int32 + const DataType_DT_BFLOAT16 + const DataType_DT_BFLOAT16_REF + const DataType_DT_BOOL + const DataType_DT_BOOL_REF + const DataType_DT_COMPLEX128 + const DataType_DT_COMPLEX128_REF + const DataType_DT_COMPLEX64 + const DataType_DT_COMPLEX64_REF + const DataType_DT_DOUBLE + const DataType_DT_DOUBLE_REF + const DataType_DT_FLOAT + const DataType_DT_FLOAT_REF + const DataType_DT_HALF + const DataType_DT_HALF_REF + const DataType_DT_INT16 + const DataType_DT_INT16_REF + const DataType_DT_INT32 + const DataType_DT_INT32_REF + const DataType_DT_INT64 + const DataType_DT_INT64_REF + const DataType_DT_INT8 + const DataType_DT_INT8_REF + const DataType_DT_INVALID + const DataType_DT_QINT16 + const DataType_DT_QINT16_REF + const DataType_DT_QINT32 + const DataType_DT_QINT32_REF + const DataType_DT_QINT8 + const DataType_DT_QINT8_REF + const DataType_DT_QUINT16 + const DataType_DT_QUINT16_REF + const DataType_DT_QUINT8 + const DataType_DT_QUINT8_REF + const DataType_DT_RESOURCE + const DataType_DT_RESOURCE_REF + const DataType_DT_STRING + const DataType_DT_STRING_REF + const DataType_DT_UINT16 + const DataType_DT_UINT16_REF + const DataType_DT_UINT8 + const DataType_DT_UINT8_REF + const DataType_DT_VARIANT + const DataType_DT_VARIANT_REF + func (DataType) EnumDescriptor() ([]byte, []int) + func (x DataType) String() string + type FunctionDef struct + Attr map[string]*AttrValue + NodeDef []*NodeDef + Ret map[string]string + Signature *OpDef + func (*FunctionDef) Descriptor() ([]byte, []int) + func (*FunctionDef) ProtoMessage() + func (m *FunctionDef) GetAttr() map[string]*AttrValue + func (m *FunctionDef) GetNodeDef() []*NodeDef + func (m *FunctionDef) GetRet() map[string]string + func (m *FunctionDef) GetSignature() *OpDef + func (m *FunctionDef) Reset() + func (m *FunctionDef) String() string + type FunctionDefLibrary struct + Function []*FunctionDef + Gradient []*GradientDef + func (*FunctionDefLibrary) Descriptor() ([]byte, []int) + func (*FunctionDefLibrary) ProtoMessage() + func (m *FunctionDefLibrary) GetFunction() []*FunctionDef + func (m *FunctionDefLibrary) GetGradient() []*GradientDef + func (m *FunctionDefLibrary) Reset() + func (m *FunctionDefLibrary) String() string + type GradientDef struct + FunctionName string + GradientFunc string + func (*GradientDef) Descriptor() ([]byte, []int) + func (*GradientDef) ProtoMessage() + func (m *GradientDef) GetFunctionName() string + func (m *GradientDef) GetGradientFunc() string + func (m *GradientDef) Reset() + func (m *GradientDef) String() string + type GraphDef struct + Library *FunctionDefLibrary + Node []*NodeDef + Version int32 + Versions *VersionDef + func (*GraphDef) Descriptor() ([]byte, []int) + func (*GraphDef) ProtoMessage() + func (m *GraphDef) GetLibrary() *FunctionDefLibrary + func (m *GraphDef) GetNode() []*NodeDef + func (m *GraphDef) GetVersion() int32 + func (m *GraphDef) GetVersions() *VersionDef + func (m *GraphDef) Reset() + func (m *GraphDef) String() string + type NameAttrList struct + Attr map[string]*AttrValue + Name string + func (*NameAttrList) Descriptor() ([]byte, []int) + func (*NameAttrList) ProtoMessage() + func (m *NameAttrList) GetAttr() map[string]*AttrValue + func (m *NameAttrList) GetName() string + func (m *NameAttrList) Reset() + func (m *NameAttrList) String() string + type NodeDef struct + Attr map[string]*AttrValue + Device string + Input []string + Name string + Op string + func (*NodeDef) Descriptor() ([]byte, []int) + func (*NodeDef) ProtoMessage() + func (m *NodeDef) GetAttr() map[string]*AttrValue + func (m *NodeDef) GetDevice() string + func (m *NodeDef) GetInput() []string + func (m *NodeDef) GetName() string + func (m *NodeDef) GetOp() string + func (m *NodeDef) Reset() + func (m *NodeDef) String() string + type OpDef struct + AllowsUninitializedInput bool + Attr []*OpDef_AttrDef + Deprecation *OpDeprecation + Description string + InputArg []*OpDef_ArgDef + IsAggregate bool + IsCommutative bool + IsStateful bool + Name string + OutputArg []*OpDef_ArgDef + Summary string + func (*OpDef) Descriptor() ([]byte, []int) + func (*OpDef) ProtoMessage() + func (m *OpDef) GetAllowsUninitializedInput() bool + func (m *OpDef) GetAttr() []*OpDef_AttrDef + func (m *OpDef) GetDeprecation() *OpDeprecation + func (m *OpDef) GetDescription() string + func (m *OpDef) GetInputArg() []*OpDef_ArgDef + func (m *OpDef) GetIsAggregate() bool + func (m *OpDef) GetIsCommutative() bool + func (m *OpDef) GetIsStateful() bool + func (m *OpDef) GetName() string + func (m *OpDef) GetOutputArg() []*OpDef_ArgDef + func (m *OpDef) GetSummary() string + func (m *OpDef) Reset() + func (m *OpDef) String() string + type OpDef_ArgDef struct + Description string + IsRef bool + Name string + NumberAttr string + Type DataType + TypeAttr string + TypeListAttr string + func (*OpDef_ArgDef) Descriptor() ([]byte, []int) + func (*OpDef_ArgDef) ProtoMessage() + func (m *OpDef_ArgDef) GetDescription() string + func (m *OpDef_ArgDef) GetIsRef() bool + func (m *OpDef_ArgDef) GetName() string + func (m *OpDef_ArgDef) GetNumberAttr() string + func (m *OpDef_ArgDef) GetType() DataType + func (m *OpDef_ArgDef) GetTypeAttr() string + func (m *OpDef_ArgDef) GetTypeListAttr() string + func (m *OpDef_ArgDef) Reset() + func (m *OpDef_ArgDef) String() string + type OpDef_AttrDef struct + AllowedValues *AttrValue + DefaultValue *AttrValue + Description string + HasMinimum bool + Minimum int64 + Name string + Type string + func (*OpDef_AttrDef) Descriptor() ([]byte, []int) + func (*OpDef_AttrDef) ProtoMessage() + func (m *OpDef_AttrDef) GetAllowedValues() *AttrValue + func (m *OpDef_AttrDef) GetDefaultValue() *AttrValue + func (m *OpDef_AttrDef) GetDescription() string + func (m *OpDef_AttrDef) GetHasMinimum() bool + func (m *OpDef_AttrDef) GetMinimum() int64 + func (m *OpDef_AttrDef) GetName() string + func (m *OpDef_AttrDef) GetType() string + func (m *OpDef_AttrDef) Reset() + func (m *OpDef_AttrDef) String() string + type OpDeprecation struct + Explanation string + Version int32 + func (*OpDeprecation) Descriptor() ([]byte, []int) + func (*OpDeprecation) ProtoMessage() + func (m *OpDeprecation) GetExplanation() string + func (m *OpDeprecation) GetVersion() int32 + func (m *OpDeprecation) Reset() + func (m *OpDeprecation) String() string + type OpList struct + Op []*OpDef + func (*OpList) Descriptor() ([]byte, []int) + func (*OpList) ProtoMessage() + func (m *OpList) GetOp() []*OpDef + func (m *OpList) Reset() + func (m *OpList) String() string + type ResourceHandleProto struct + Container string + Device string + HashCode uint64 + MaybeTypeName string + Name string + func (*ResourceHandleProto) Descriptor() ([]byte, []int) + func (*ResourceHandleProto) ProtoMessage() + func (m *ResourceHandleProto) GetContainer() string + func (m *ResourceHandleProto) GetDevice() string + func (m *ResourceHandleProto) GetHashCode() uint64 + func (m *ResourceHandleProto) GetMaybeTypeName() string + func (m *ResourceHandleProto) GetName() string + func (m *ResourceHandleProto) Reset() + func (m *ResourceHandleProto) String() string + type TensorProto struct + BoolVal []bool + DcomplexVal []float64 + DoubleVal []float64 + Dtype DataType + FloatVal []float32 + HalfVal []int32 + Int64Val []int64 + IntVal []int32 + ResourceHandleVal []*ResourceHandleProto + ScomplexVal []float32 + StringVal [][]byte + TensorContent []byte + TensorShape *TensorShapeProto + VariantVal []*VariantTensorDataProto + VersionNumber int32 + func (*TensorProto) Descriptor() ([]byte, []int) + func (*TensorProto) ProtoMessage() + func (m *TensorProto) GetBoolVal() []bool + func (m *TensorProto) GetDcomplexVal() []float64 + func (m *TensorProto) GetDoubleVal() []float64 + func (m *TensorProto) GetDtype() DataType + func (m *TensorProto) GetFloatVal() []float32 + func (m *TensorProto) GetHalfVal() []int32 + func (m *TensorProto) GetInt64Val() []int64 + func (m *TensorProto) GetIntVal() []int32 + func (m *TensorProto) GetResourceHandleVal() []*ResourceHandleProto + func (m *TensorProto) GetScomplexVal() []float32 + func (m *TensorProto) GetStringVal() [][]byte + func (m *TensorProto) GetTensorContent() []byte + func (m *TensorProto) GetTensorShape() *TensorShapeProto + func (m *TensorProto) GetVariantVal() []*VariantTensorDataProto + func (m *TensorProto) GetVersionNumber() int32 + func (m *TensorProto) Reset() + func (m *TensorProto) String() string + type TensorShapeProto struct + Dim []*TensorShapeProto_Dim + UnknownRank bool + func (*TensorShapeProto) Descriptor() ([]byte, []int) + func (*TensorShapeProto) ProtoMessage() + func (m *TensorShapeProto) GetDim() []*TensorShapeProto_Dim + func (m *TensorShapeProto) GetUnknownRank() bool + func (m *TensorShapeProto) Reset() + func (m *TensorShapeProto) String() string + type TensorShapeProto_Dim struct + Name string + Size int64 + func (*TensorShapeProto_Dim) Descriptor() ([]byte, []int) + func (*TensorShapeProto_Dim) ProtoMessage() + func (m *TensorShapeProto_Dim) GetName() string + func (m *TensorShapeProto_Dim) GetSize() int64 + func (m *TensorShapeProto_Dim) Reset() + func (m *TensorShapeProto_Dim) String() string + type VariantTensorDataProto struct + Metadata []byte + Tensors []*TensorProto + TypeName string + func (*VariantTensorDataProto) Descriptor() ([]byte, []int) + func (*VariantTensorDataProto) ProtoMessage() + func (m *VariantTensorDataProto) GetMetadata() []byte + func (m *VariantTensorDataProto) GetTensors() []*TensorProto + func (m *VariantTensorDataProto) GetTypeName() string + func (m *VariantTensorDataProto) Reset() + func (m *VariantTensorDataProto) String() string + type VersionDef struct + BadConsumers []int32 + MinConsumer int32 + Producer int32 + func (*VersionDef) Descriptor() ([]byte, []int) + func (*VersionDef) ProtoMessage() + func (m *VersionDef) GetBadConsumers() []int32 + func (m *VersionDef) GetMinConsumer() int32 + func (m *VersionDef) GetProducer() int32 + func (m *VersionDef) Reset() + func (m *VersionDef) String() string