Interface SavedObjectGraphOuterClass.SavedBareConcreteFunctionOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
SavedObjectGraphOuterClass.SavedBareConcreteFunction, SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder
- Enclosing class:
SavedObjectGraphOuterClass
public static interface SavedObjectGraphOuterClass.SavedBareConcreteFunctionOrBuilder
extends 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.getArgumentKeywordsBytes(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.Identifies 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 MessageLiteOrBuilder
isInitialized
-
Method Details
-
getConcreteFunctionName
String getConcreteFunctionName()Identifies a SavedConcreteFunction.
string concrete_function_name = 1;- Returns:
- The concreteFunctionName.
-
getConcreteFunctionNameBytes
ByteString getConcreteFunctionNameBytes()Identifies a SavedConcreteFunction.
string concrete_function_name = 1;- Returns:
- The bytes for concreteFunctionName.
-
getArgumentKeywordsList
-
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
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;
-