Package tensorflow
Interface SavedObjectGraphOuterClass.SavedBareConcreteFunctionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SavedObjectGraphOuterClass.SavedBareConcreteFunction,SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder
- Enclosing class:
SavedObjectGraphOuterClass
public static interface SavedObjectGraphOuterClass.SavedBareConcreteFunctionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongThe prefix of `argument_keywords` which may be identified by position.getArgumentKeywords(int index) A sequence of unique strings, one per Tensor argument.com.google.protobuf.ByteStringgetArgumentKeywordsBytes(int index) A sequence of unique strings, one per Tensor argument.intA sequence of unique strings, one per Tensor argument.A sequence of unique strings, one per Tensor argument.Identifies a SavedConcreteFunction.com.google.protobuf.ByteStringIdentifies a SavedConcreteFunction.The spec of the function that this ConcreteFunction is traced from.The spec of the function that this ConcreteFunction is traced from.booleanThe spec of the function that this ConcreteFunction is traced from.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getConcreteFunctionName
String getConcreteFunctionName()Identifies a SavedConcreteFunction.
string concrete_function_name = 1;- Returns:
- The concreteFunctionName.
-
getConcreteFunctionNameBytes
com.google.protobuf.ByteString getConcreteFunctionNameBytes()Identifies a SavedConcreteFunction.
string concrete_function_name = 1;- Returns:
- The bytes for concreteFunctionName.
-
getArgumentKeywordsList
A sequence of unique strings, one per Tensor argument.
repeated string argument_keywords = 2;- Returns:
- A list containing the argumentKeywords.
-
getArgumentKeywordsCount
int getArgumentKeywordsCount()A sequence of unique strings, one per Tensor argument.
repeated string argument_keywords = 2;- Returns:
- The count of argumentKeywords.
-
getArgumentKeywords
A sequence of unique strings, one per Tensor argument.
repeated string argument_keywords = 2;- Parameters:
index- The index of the element to return.- Returns:
- The argumentKeywords at the given index.
-
getArgumentKeywordsBytes
com.google.protobuf.ByteString getArgumentKeywordsBytes(int index) A sequence of unique strings, one per Tensor argument.
repeated string argument_keywords = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the argumentKeywords at the given index.
-
getAllowedPositionalArguments
long getAllowedPositionalArguments()The prefix of `argument_keywords` which may be identified by position.
int64 allowed_positional_arguments = 3;- Returns:
- The allowedPositionalArguments.
-
hasFunctionSpec
boolean hasFunctionSpec()The spec of the function that this ConcreteFunction is traced from. This allows the ConcreteFunction to be called with nest structure inputs. This field may not be populated. If this field is absent, the concrete function can only be called with flat inputs. TODO(b/169361281): support calling saved ConcreteFunction with structured inputs in C++ SavedModel API.
.tensorflow.FunctionSpec function_spec = 4;- Returns:
- Whether the functionSpec field is set.
-
getFunctionSpec
SavedObjectGraphOuterClass.FunctionSpec getFunctionSpec()The spec of the function that this ConcreteFunction is traced from. This allows the ConcreteFunction to be called with nest structure inputs. This field may not be populated. If this field is absent, the concrete function can only be called with flat inputs. TODO(b/169361281): support calling saved ConcreteFunction with structured inputs in C++ SavedModel API.
.tensorflow.FunctionSpec function_spec = 4;- Returns:
- The functionSpec.
-
getFunctionSpecOrBuilder
SavedObjectGraphOuterClass.FunctionSpecOrBuilder getFunctionSpecOrBuilder()The spec of the function that this ConcreteFunction is traced from. This allows the ConcreteFunction to be called with nest structure inputs. This field may not be populated. If this field is absent, the concrete function can only be called with flat inputs. TODO(b/169361281): support calling saved ConcreteFunction with structured inputs in C++ SavedModel API.
.tensorflow.FunctionSpec function_spec = 4;
-