public static interface OpDef.ArgDefOrBuilder
extends org.nd4j.shade.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Human readable description.
|
org.nd4j.shade.protobuf.ByteString |
getDescriptionBytes()
Human readable description.
|
boolean |
getIsRef()
For inputs: if true, the inputs are required to be refs.
|
String |
getName()
Name for the input/output.
|
org.nd4j.shade.protobuf.ByteString |
getNameBytes()
Name for the input/output.
|
String |
getNumberAttr()
if specified, attr must have type "int"
|
org.nd4j.shade.protobuf.ByteString |
getNumberAttrBytes()
if specified, attr must have type "int"
|
DataType |
getType()
Describes the type of one or more tensors that are accepted/produced
by this input/output arg.
|
String |
getTypeAttr()
if specified, attr must have type "type"
|
org.nd4j.shade.protobuf.ByteString |
getTypeAttrBytes()
if specified, attr must have type "type"
|
String |
getTypeListAttr()
If specified, attr must have type "list(type)", and none of
type, type_attr, and number_attr may be specified.
|
org.nd4j.shade.protobuf.ByteString |
getTypeListAttrBytes()
If specified, attr must have type "list(type)", and none of
type, type_attr, and number_attr may be specified.
|
int |
getTypeValue()
Describes the type of one or more tensors that are accepted/produced
by this input/output arg.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
String getName()
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
org.nd4j.shade.protobuf.ByteString getNameBytes()
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
String getDescription()
Human readable description.
string description = 2;
org.nd4j.shade.protobuf.ByteString getDescriptionBytes()
Human readable description.
string description = 2;
int getTypeValue()
Describes the type of one or more tensors that are accepted/produced by this input/output arg. The only legal combinations are: * For a single tensor: either the "type" field is set or the "type_attr" field is set to the name of an attr with type "type". * For a sequence of tensors with the same type: the "number_attr" field will be set to the name of an attr with type "int", and either the "type" or "type_attr" field will be set as for single tensors. * For a sequence of tensors, the "type_list_attr" field will be set to the name of an attr with type "list(type)".
.tensorflow.DataType type = 3;
DataType getType()
Describes the type of one or more tensors that are accepted/produced by this input/output arg. The only legal combinations are: * For a single tensor: either the "type" field is set or the "type_attr" field is set to the name of an attr with type "type". * For a sequence of tensors with the same type: the "number_attr" field will be set to the name of an attr with type "int", and either the "type" or "type_attr" field will be set as for single tensors. * For a sequence of tensors, the "type_list_attr" field will be set to the name of an attr with type "list(type)".
.tensorflow.DataType type = 3;
String getTypeAttr()
if specified, attr must have type "type"
string type_attr = 4;
org.nd4j.shade.protobuf.ByteString getTypeAttrBytes()
if specified, attr must have type "type"
string type_attr = 4;
String getNumberAttr()
if specified, attr must have type "int"
string number_attr = 5;
org.nd4j.shade.protobuf.ByteString getNumberAttrBytes()
if specified, attr must have type "int"
string number_attr = 5;
String getTypeListAttr()
If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified.
string type_list_attr = 6;
org.nd4j.shade.protobuf.ByteString getTypeListAttrBytes()
If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified.
string type_list_attr = 6;
boolean getIsRef()
For inputs: if true, the inputs are required to be refs. By default, inputs can be either refs or non-refs. For outputs: if true, outputs are refs, otherwise they are not.
bool is_ref = 16;
Copyright © 2020. All rights reserved.