Home
last modified time | relevance | path

Searched refs:function_spec (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/python/saved_model/
Dfunction_serialization.py24 def _serialize_function_spec(function_spec): argument
26 if function_spec.is_method and not function_spec.fullargspec.args:
39 function_spec.fullargspec._replace(annotations={})))
41 proto.is_method = function_spec.is_method
43 nested_structure_coder.encode_structure(function_spec.input_signature))
50 }.get(function_spec.jit_compile)
89 proto.function_spec.CopyFrom(
100 function_spec_proto = _serialize_function_spec(function.function_spec)
101 proto.function_spec.CopyFrom(function_spec_proto)
Dfunction_deserialization.py25 from tensorflow.python.eager import function_spec as function_spec_lib
178 function_spec = _deserialize_function_spec_as_nonmethod(
179 saved_bare_concrete_function.function_spec)
180 concrete_function._set_function_spec(function_spec)
192 def __init__(self, python_function, name, function_spec, concrete_functions): argument
198 jit_compile=function_spec.jit_compile)
200 self._function_spec = function_spec
255 function_spec = _deserialize_function_spec_as_nonmethod(
256 saved_function.function_spec)
307 cf._set_function_spec(function_spec) # pylint: disable=protected-access
[all …]
DBUILD596 "//tensorflow/python/eager:function_spec",
/external/tensorflow/tensorflow/c/experimental/saved_model/core/revived_types/
Dtf_concrete_function_revival_state.h56 absl::optional<const FunctionSpec*> function_spec; member
/external/tensorflow/tensorflow/c/experimental/saved_model/core/
Dsaved_model_utils.cc450 const FunctionSpec& function_spec = saved_function.function_spec(); in PartiallyReviveSavedModelObjects() local
468 func_revival_state.function_spec = &function_spec; in PartiallyReviveSavedModelObjects()
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.__internal__.function.-function.pbtxt9 name: "function_spec"
/external/tensorflow/tensorflow/python/eager/
Dfunction.py37 from tensorflow.python.eager import function_spec
1499 defaults=[function_spec.BOUND_VALUE] * len(arg_specs),
1502 (k, function_spec.BOUND_VALUE) for k in kwarg_specs),
1504 self._function_spec = function_spec.FunctionSpec(
1674 if arg is function_spec.BOUND_VALUE and _contains_type_spec(spec):
1677 if arg is function_spec.BOUND_VALUE and _contains_type_spec(
1710 if arg is function_spec.BOUND_VALUE:
1743 elif arg_piece is not function_spec.BOUND_VALUE:
2438 self._function_spec = function_spec.FunctionSpec.from_function_and_signature(
2476 def function_spec(self): member in Function
[all …]
Ddef_function.py75 from tensorflow.python.eager import function_spec as function_spec_lib
747 self.function_spec.validate_input_signature_with_argspec()
1038 def function_spec(self): member in Function
DBUILD603 name = "function_spec",
604 srcs = ["function_spec.py"],
631 ":function_spec",
939 ":function_spec",
/external/tensorflow/tensorflow/core/protobuf/
Dsaved_object_graph.proto142 FunctionSpec function_spec = 2; field
181 FunctionSpec function_spec = 4; field
/external/tensorflow/tensorflow/python/keras/saving/saved_model/
Dload.py813 if 'training' in layer_call.function_spec.arg_names:
/external/googleapis/google/cloud/dialogflow/cx/v3beta1/
Dtool.proto476 FunctionTool function_spec = 13; field