Home
last modified time | relevance | path

Searched refs:python_function (Results 1 – 14 of 14) sorted by relevance

/aosp_15_r20/external/tensorflow/tensorflow/python/eager/
H A Dfunction_spec.py45 def from_function_and_signature(cls, python_function, argument
64 _validate_python_function(python_function, input_signature)
66 fullargspec = tf_inspect.getfullargspec(python_function)
68 is_method = tf_inspect.isanytargetmethod(python_function)
74 _, unwrapped = tf_decorator.unwrap(python_function)
134 while isinstance(python_function, functools.partial):
135 python_function = python_function.func
136 name = getattr(python_function, "__name__", "f")
512 def _validate_python_function(python_function, input_signature): argument
514 if not callable(python_function):
[all …]
H A Ddef_function.py554 python_function, argument
581 self._python_function = python_function
583 python_function,
782 def _clone(self, python_function): argument
785 python_function=(self._python_function
786 if python_function is None else python_function),
1029 def python_function(self): member in Function
H A Dfunction.py2396 python_function, argument
2436 self._python_function = python_function
2439 python_function,
2471 def python_function(self): member in Function
3193 original_function.python_function,
3194 TfMethodTarget(weak_instance, original_function.python_function))
3213 wrapped_fn = original_function.python_function
H A Ddef_function_test.py962 cloned = func._clone(python_function=cloned_py_function)
H A Dfunction_test.py2643 side_effecting_function.python_function()
/aosp_15_r20/external/pytorch/torch/csrc/autograd/
H A DREADME.md24 * `THPFunction` in `python_function.h`, the Python object type. In
25 `python_function.cpp`, you can see the boilerplate that tells the Python
27 * `PyNode` in `python_function.h`, a subclass of `Node` which forwards
/aosp_15_r20/external/tensorflow/tensorflow/tools/api/golden/v2/
H A Dtensorflow.__internal__.function.-function.pbtxt21 name: "python_function"
26 …argspec: "args=[\'self\', \'python_function\', \'name\', \'input_signature\', \'autograph\', \'jit…
/aosp_15_r20/external/tensorflow/tensorflow/python/autograph/g3doc/reference/
H A Dgenerated_code.md54 `python_function` attribute:
61 converted_f = tf.autograph.to_graph(f.python_function)
/aosp_15_r20/external/tensorflow/tensorflow/python/distribute/
H A Dmirrored_run.py80 python_function=functools.partial(call_for_each_replica, strategy,
81 fn.python_function))
/aosp_15_r20/external/tensorflow/tensorflow/python/saved_model/
H A Dfunction_deserialization.py192 def __init__(self, python_function, name, function_spec, concrete_functions): argument
195 python_function,
/aosp_15_r20/external/pytorch/torch/testing/_internal/distributed/rpc/jit/
H A Drpc_test.py488 def python_function(): function
753 fut = rpc.rpc_async(dst_worker_name, python_function, args, kwargs)
/aosp_15_r20/external/tensorflow/tensorflow/python/keras/saving/saved_model/
H A Dsave_impl.py733 return layer.call.python_function
/aosp_15_r20/external/pytorch/torch/_C/
H A D__init__.pyi.in238 # Defined in torch/csrc/autograd/python_function.cpp
/aosp_15_r20/external/pytorch/
H A Dbuild_variables.bzl822 "torch/csrc/autograd/python_function.cpp",