Used to specify and override the default API & behavior in the generated code for client languages, from what you would get from the OpDef alone. There will be a set of ApiDefs that are common to all client languages, and another set per client language. The per-client-language ApiDefs will inherit values from the common ApiDefs which it can either replace or modify. We separate the API definition from the OpDef so we can evolve the API while remaining backwards compatible when interpretting old graphs. Overrides go in an "api_def.pbtxt" file with a text-format ApiDefs message. WARNING: Be *very* careful changing the API for any existing op -- you can change the semantics of existing code. These changes may need to wait until a major release of TensorFlow to avoid breaking our compatibility promises.
tensorflow.ApiDef
Публичные методы
ApiDef.Builder | addAllArgOrder (значения Iterable<String>) List of original in_arg names to specify new argument order. |
ApiDef.Builder | |
ApiDef.Builder | addAllEndpoint (Iterable<? расширяет значения ApiDef.Endpoint >) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | addAllInArg (Iterable<? расширяет значения ApiDef.Arg >) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | addAllOutArg (Iterable<? расширяет значения ApiDef.Arg >) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | addArgOrder (строковое значение) List of original in_arg names to specify new argument order. |
ApiDef.Builder | addArgOrderBytes (значение com.google.protobuf.ByteString) List of original in_arg names to specify new argument order. |
ApiDef.Builder | |
ApiDef.Builder | addAttr (индекс int, ApiDef.Attr.Builder builderForValue) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Attr.Builder | добавитьАттрБилдер () repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Attr.Builder | addAttrBuilder (индекс целого числа) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | addEndpoint (индекс int, ApiDef.Endpoint.Builder builderForValue) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | addEndpoint (индекс int, значение ApiDef.Endpoint ) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | addEndpoint ( ApiDef.Endpoint.Builder builderForValue) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | |
ApiDef.Endpoint.Builder | addEndpointBuilder (индекс int) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Endpoint.Builder | добавитьEndpointBuilder () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | |
ApiDef.Builder | addInArg (индекс int, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Arg.Builder | addInArgBuilder (индекс целого числа) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Arg.Builder | добавитьИнАргБилдер () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Builder | addOutArg (индекс int, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | |
ApiDef.Arg.Builder | адаутаргбуилдер () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Arg.Builder | addOutArgBuilder (индекс целого числа) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
APIDef | строить () |
APIDef | |
ApiDef.Builder | прозрачный () |
ApiDef.Builder | очиститьАргОрдер () List of original in_arg names to specify new argument order. |
ApiDef.Builder | очиститьАттр () repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | ОчиститьДепрекатионмессаже () If this op is deprecated, set deprecation message to the message that should be logged when this op is used. |
ApiDef.Builder | очиститьдепрекатионверсион () Major version when the op will be deleted. |
ApiDef.Builder | ОчиститьОписание () Additional, longer human-readable description of what the Op does. |
ApiDef.Builder | очиститьОписаниеПрефикс () Modify an existing/inherited description by adding text to the beginning or end. |
ApiDef.Builder | очиститьОписаниеСуффикс () string description_suffix = 10; |
ApiDef.Builder | очистить конечную точку () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor) |
ApiDef.Builder | очиститьGraphOpName () Name of the op (in the OpDef) to specify the API for. |
ApiDef.Builder | очиститьИнАрг () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ApiDef.Builder | ОчиститьАргг () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | ОчиститьСводка () One-line human-readable description of what the Op does. |
ApiDef.Builder | ясная видимость () .tensorflow.ApiDef.Visibility visibility = 2; |
ApiDef.Builder | клон () |
Нить | getArgOrder (целочисленный индекс) List of original in_arg names to specify new argument order. |
com.google.protobuf.ByteString | getArgOrderBytes (индекс целого числа) List of original in_arg names to specify new argument order. |
интервал | getArgOrderCount () List of original in_arg names to specify new argument order. |
com.google.protobuf.ProtocolStringList | getArgOrderList () List of original in_arg names to specify new argument order. |
АпиДеф.Аттр | getAttr (целевой индекс) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Attr.Builder | getAttrBuilder (индекс целого числа) repeated .tensorflow.ApiDef.Attr attr = 6; |
Список< ApiDef.Attr.Builder > | getAttrBuilderList () repeated .tensorflow.ApiDef.Attr attr = 6; |
интервал | getAttrCount () repeated .tensorflow.ApiDef.Attr attr = 6; |
Список< ApiDef.Attr > | getAttrList () repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.AttrOrBuilder | getAttrOrBuilder (индекс целого числа) repeated .tensorflow.ApiDef.Attr attr = 6; |
Список<? расширяет ApiDef.AttrOrBuilder > | getAttrOrBuilderList () repeated .tensorflow.ApiDef.Attr attr = 6; |
APIDef | |
Нить | getDeprecationMessage () If this op is deprecated, set deprecation message to the message that should be logged when this op is used. |
com.google.protobuf.ByteString | getDeprecationMessageBytes () If this op is deprecated, set deprecation message to the message that should be logged when this op is used. |
интервал | getDeprecationVersion () Major version when the op will be deleted. |
Нить | получитьОписание () Additional, longer human-readable description of what the Op does. |
com.google.protobuf.ByteString | getDescriptionBytes () Additional, longer human-readable description of what the Op does. |
Нить | getDescriptionPrefix () Modify an existing/inherited description by adding text to the beginning or end. |
com.google.protobuf.ByteString | getDescriptionPrefixBytes () Modify an existing/inherited description by adding text to the beginning or end. |
Нить | getDescriptionSuffix () string description_suffix = 10; |
com.google.protobuf.ByteString | getDescriptionSuffixBytes () string description_suffix = 10; |
окончательный статический com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
АпиДеф.Конечная точка | getEndpoint (целочисленный индекс) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Endpoint.Builder | getEndpointBuilder (индекс int) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
Список< ApiDef.Endpoint.Builder > | getEndpointBuilderList () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
интервал | getEndpointCount () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
Список< ApiDef.Endpoint > | getEndpointList () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
АпиDef.EndpointOrBuilder | getEndpointOrBuilder (индекс int) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
Список<? расширяет ApiDef.EndpointOrBuilder > | getEndpointOrBuilderList () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
Нить | getGraphOpName () Name of the op (in the OpDef) to specify the API for. |
com.google.protobuf.ByteString | getGraphOpNameBytes () Name of the op (in the OpDef) to specify the API for. |
ApiDef.Arg | getInArg (целочисленный индекс) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Arg.Builder | getInArgBuilder (индекс целого числа) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
Список< ApiDef.Arg.Builder > | getInArgBuilderList () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
интервал | getInArgCount () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
Список< ApiDef.Arg > | getInArgList () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.ArgOrBuilder | getInArgOrBuilder (индекс целого числа) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
Список<? расширяет ApiDef.ArgOrBuilder > | getInArgOrBuilderList () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Arg | getOutArg (целочисленный индекс) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Arg.Builder | getOutArgBuilder (индекс целого числа) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
Список< ApiDef.Arg.Builder > | getOutArgBuilderList () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
интервал | getOutArgCount () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
Список< ApiDef.Arg > | getOutArgList () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.ArgOrBuilder | getOutArgOrBuilder (индекс целого числа) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
Список<? расширяет ApiDef.ArgOrBuilder > | getOutArgOrBuilderList () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
Нить | получитьСводку () One-line human-readable description of what the Op does. |
com.google.protobuf.ByteString | getSummaryBytes () One-line human-readable description of what the Op does. |
ApiDef.Visibility | получитьВидимость () .tensorflow.ApiDef.Visibility visibility = 2; |
интервал | getVisibilityValue () .tensorflow.ApiDef.Visibility visibility = 2; |
последнее логическое значение | |
ApiDef.Builder | mergeFrom (com.google.protobuf.Message другое) |
ApiDef.Builder | mergeFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
окончательный ApiDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
ApiDef.Builder | RemoveAttr (целочисленный индекс) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | RemoveEndpoint (индекс целого числа) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | удалитьInArg (целочисленный индекс) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | RemoveOutArg (целочисленный индекс) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | setArgOrder (целочисленный индекс, строковое значение) List of original in_arg names to specify new argument order. |
ApiDef.Builder | |
ApiDef.Builder | setAttr (индекс int, ApiDef.Attr.Builder builderForValue) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | setDeprecationMessage (строковое значение) If this op is deprecated, set deprecation message to the message that should be logged when this op is used. |
ApiDef.Builder | setDeprecationMessageBytes (значение com.google.protobuf.ByteString) If this op is deprecated, set deprecation message to the message that should be logged when this op is used. |
ApiDef.Builder | setDeprecationVersion (целое значение) Major version when the op will be deleted. |
ApiDef.Builder | setDescription (строковое значение) Additional, longer human-readable description of what the Op does. |
ApiDef.Builder | setDescriptionBytes (значение com.google.protobuf.ByteString) Additional, longer human-readable description of what the Op does. |
ApiDef.Builder | setDescriptionPrefix (строковое значение) Modify an existing/inherited description by adding text to the beginning or end. |
ApiDef.Builder | setDescriptionPrefixBytes (значение com.google.protobuf.ByteString) Modify an existing/inherited description by adding text to the beginning or end. |
ApiDef.Builder | setDescriptionSuffix (строковое значение) string description_suffix = 10; |
ApiDef.Builder | setDescriptionSuffixBytes (значение com.google.protobuf.ByteString) string description_suffix = 10; |
ApiDef.Builder | setEndpoint (индекс int, значение ApiDef.Endpoint ) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | setEndpoint (индекс int, ApiDef.Endpoint.Builder builderForValue) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
ApiDef.Builder | setGraphOpName (строковое значение) Name of the op (in the OpDef) to specify the API for. |
ApiDef.Builder | setGraphOpNameBytes (значение com.google.protobuf.ByteString) Name of the op (in the OpDef) to specify the API for. |
ApiDef.Builder | |
ApiDef.Builder | setInArg (индекс int, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | |
ApiDef.Builder | setOutArg (индекс int, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта) |
ApiDef.Builder | setSummary (строковое значение) One-line human-readable description of what the Op does. |
ApiDef.Builder | setSummaryBytes (значение com.google.protobuf.ByteString) One-line human-readable description of what the Op does. |
окончательный ApiDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
ApiDef.Builder | |
ApiDef.Builder | setVisibilityValue (целое значение) .tensorflow.ApiDef.Visibility visibility = 2; |
Унаследованные методы
Публичные методы
public ApiDef.Builder addAllArgOrder (значения Iterable<String>)
List of original in_arg names to specify new argument order. Length of arg_order should be either empty to keep current order or match size of in_arg.
repeated string arg_order = 11;
public ApiDef.Builder addAllAttr (Iterable<? расширяет значения ApiDef.Attr >)
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.Builder addAllEndpoint (Iterable<? расширяет значения ApiDef.Endpoint >)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder addAllInArg (Iterable<? расширяет значения ApiDef.Arg >)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Builder addAllOutArg (Iterable<? расширяет значения ApiDef.Arg >)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Builder addArgOrder (строковое значение)
List of original in_arg names to specify new argument order. Length of arg_order should be either empty to keep current order or match size of in_arg.
repeated string arg_order = 11;
public ApiDef.Builder addArgOrderBytes (значение com.google.protobuf.ByteString)
List of original in_arg names to specify new argument order. Length of arg_order should be either empty to keep current order or match size of in_arg.
repeated string arg_order = 11;
public ApiDef.Builder addAttr (индекс int, значение ApiDef.Attr )
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.Builder addAttr (индекс int, ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.Builder addAttr ( ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.Builder addEndpoint (индекс int, ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder addEndpoint (индекс int, значение ApiDef.Endpoint )
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
общедоступный ApiDef.Builder addEndpoint ( ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder addEndpoint (значение ApiDef.Endpoint )
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Endpoint.Builder addEndpointBuilder (индекс int)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
общедоступный ApiDef.Endpoint.Builder addEndpointBuilder ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder addInArg (индекс int, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Builder addInArg ( ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Builder addInArg (индекс int, значение ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Builder addOutArg (индекс int, значение ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Builder addOutArg (индекс int, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Builder addOutArg ( ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Arg.Builder addOutArgBuilder (индекс int)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Builder addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
общедоступный ApiDef.Builder ClearArgOrder ()
List of original in_arg names to specify new argument order. Length of arg_order should be either empty to keep current order or match size of in_arg.
repeated string arg_order = 11;
public ApiDef.Builder ClearDeprecationMessage ()
If this op is deprecated, set deprecation message to the message that should be logged when this op is used. The message should indicate alternative op to use, if any.
string deprecation_message = 12;
public ApiDef.Builder ClearDeprecationVersion ()
Major version when the op will be deleted. For e.g. set this value to 2 if op API should be removed in TensorFlow 2.0 and deprecated in versions before that.
int32 deprecation_version = 13;
общедоступный ApiDef.Builder ClearDescription ()
Additional, longer human-readable description of what the Op does.
string description = 8;
public ApiDef.Builder ClearDescriptionPrefix ()
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
public ApiDef.Builder ClearGraphOpName ()
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
общедоступный ApiDef.Builder ClearSummary ()
One-line human-readable description of what the Op does.
string summary = 7;
публичная строка getArgOrder (индекс int)
List of original in_arg names to specify new argument order. Length of arg_order should be either empty to keep current order or match size of in_arg.
repeated string arg_order = 11;
public com.google.protobuf.ByteString getArgOrderBytes (индекс int)
List of original in_arg names to specify new argument order. Length of arg_order should be either empty to keep current order or match size of in_arg.
repeated string arg_order = 11;
public int getArgOrderCount ()
List of original in_arg names to specify new argument order. Length of arg_order should be either empty to keep current order or match size of in_arg.
repeated string arg_order = 11;
общедоступный com.google.protobuf.ProtocolStringList getArgOrderList ()
List of original in_arg names to specify new argument order. Length of arg_order should be either empty to keep current order or match size of in_arg.
repeated string arg_order = 11;
общедоступный список < ApiDef.Attr.Builder > getAttrBuilderList ()
repeated .tensorflow.ApiDef.Attr attr = 6;
public int getAttrCount ()
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.AttrOrBuilder getAttrOrBuilder (индекс int)
repeated .tensorflow.ApiDef.Attr attr = 6;
общедоступный список<? расширяет ApiDef.AttrOrBuilder > getAttrOrBuilderList ()
repeated .tensorflow.ApiDef.Attr attr = 6;
публичная строка getDeprecationMessage ()
If this op is deprecated, set deprecation message to the message that should be logged when this op is used. The message should indicate alternative op to use, if any.
string deprecation_message = 12;
public com.google.protobuf.ByteString getDeprecationMessageBytes ()
If this op is deprecated, set deprecation message to the message that should be logged when this op is used. The message should indicate alternative op to use, if any.
string deprecation_message = 12;
public int getDeprecationVersion ()
Major version when the op will be deleted. For e.g. set this value to 2 if op API should be removed in TensorFlow 2.0 and deprecated in versions before that.
int32 deprecation_version = 13;
публичная строка getDescription ()
Additional, longer human-readable description of what the Op does.
string description = 8;
public com.google.protobuf.ByteString getDescriptionBytes ()
Additional, longer human-readable description of what the Op does.
string description = 8;
публичная строка getDescriptionPrefix ()
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
public com.google.protobuf.ByteString getDescriptionPrefixBytes ()
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
публичная строка getDescriptionSuffix ()
string description_suffix = 10;
public com.google.protobuf.ByteString getDescriptionSuffixBytes ()
string description_suffix = 10;
общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()
общедоступный com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public ApiDef.Endpoint.Builder getEndpointBuilder (индекс int)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
общедоступный список < ApiDef.Endpoint.Builder > getEndpointBuilderList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public int getEndpointCount ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
общедоступный список < ApiDef.Endpoint > getEndpointList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.EndpointOrBuilder getEndpointOrBuilder (индекс int)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
общедоступный список<? расширяет ApiDef.EndpointOrBuilder > getEndpointOrBuilderList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
публичная строка getGraphOpName ()
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
public com.google.protobuf.ByteString getGraphOpNameBytes ()
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
общедоступный список < ApiDef.Arg.Builder > getInArgBuilderList ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public int getInArgCount ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.ArgOrBuilder getInArgOrBuilder (индекс int)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
общедоступный список<? расширяет ApiDef.ArgOrBuilder > getInArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Arg.Builder getOutArgBuilder (индекс int)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
общедоступный список < ApiDef.Arg.Builder > getOutArgBuilderList ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public int getOutArgCount ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.ArgOrBuilder getOutArgOrBuilder (индекс int)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
общедоступный список<? расширяет ApiDef.ArgOrBuilder > getOutArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
публичная строка getSummary ()
One-line human-readable description of what the Op does.
string summary = 7;
public com.google.protobuf.ByteString getSummaryBytes ()
One-line human-readable description of what the Op does.
string summary = 7;
public int getVisibilityValue ()
.tensorflow.ApiDef.Visibility visibility = 2;
публичное окончательное логическое значение isInitialized ()
public ApiDef.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
общедоступный финальный ApiDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public ApiDef.Builder removeEndpoint (индекс int)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder setArgOrder (индекс int, строковое значение)
List of original in_arg names to specify new argument order. Length of arg_order should be either empty to keep current order or match size of in_arg.
repeated string arg_order = 11;
public ApiDef.Builder setAttr (индекс int, значение ApiDef.Attr )
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.Builder setAttr (индекс int, ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.Builder setDeprecationMessage (строковое значение)
If this op is deprecated, set deprecation message to the message that should be logged when this op is used. The message should indicate alternative op to use, if any.
string deprecation_message = 12;
public ApiDef.Builder setDeprecationMessageBytes (значение com.google.protobuf.ByteString)
If this op is deprecated, set deprecation message to the message that should be logged when this op is used. The message should indicate alternative op to use, if any.
string deprecation_message = 12;
public ApiDef.Builder setDeprecationVersion (целое значение)
Major version when the op will be deleted. For e.g. set this value to 2 if op API should be removed in TensorFlow 2.0 and deprecated in versions before that.
int32 deprecation_version = 13;
public ApiDef.Builder setDescription (строковое значение)
Additional, longer human-readable description of what the Op does.
string description = 8;
public ApiDef.Builder setDescriptionBytes (значение com.google.protobuf.ByteString)
Additional, longer human-readable description of what the Op does.
string description = 8;
public ApiDef.Builder setDescriptionPrefix (строковое значение)
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
public ApiDef.Builder setDescriptionPrefixBytes (значение com.google.protobuf.ByteString)
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
public ApiDef.Builder setDescriptionSuffixBytes (значение com.google.protobuf.ByteString)
string description_suffix = 10;
public ApiDef.Builder setEndpoint (индекс int, значение ApiDef.Endpoint )
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder setEndpoint (индекс int, ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
public ApiDef.Builder setGraphOpName (строковое значение)
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
public ApiDef.Builder setGraphOpNameBytes (значение com.google.protobuf.ByteString)
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
public ApiDef.Builder setInArg (индекс int, значение ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Builder setInArg (индекс int, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Builder setOutArg (индекс int, значение ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Builder setOutArg (индекс int, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Builder setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта)
public ApiDef.Builder setSummary (строковое значение)
One-line human-readable description of what the Op does.
string summary = 7;
public ApiDef.Builder setSummaryBytes (значение com.google.protobuf.ByteString)
One-line human-readable description of what the Op does.
string summary = 7;
публичный финальный ApiDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public ApiDef.Builder setVisibility (значение ApiDef.Visibility )
.tensorflow.ApiDef.Visibility visibility = 2;
public ApiDef.Builder setVisibilityValue (целое значение)
.tensorflow.ApiDef.Visibility visibility = 2;