Home
last modified time | relevance | path

Searched refs:_functions (Results 1 – 25 of 80) sorted by relevance

1234

/aosp_15_r20/external/pytorch/torch/onnx/_internal/
H A Dregistration.py139 self._functions: OverrideDict[OpsetVersion, Callable] = OverrideDict()
154 version = _dispatch_opset_version(opset, self._functions)
158 return self._functions[version]
167 if self._functions.in_base(opset):
174 self._functions.set_base(opset, func)
183 self._functions.override(opset, func)
191 if not self._functions.overridden(opset):
196 self._functions.remove_override(opset)
200 return min(self._functions)
/aosp_15_r20/external/sl4a/Docs/
H A Dgenerate_api_reference_md.py110 self._functions = collections.defaultdict(list)
179 self._functions[module].append(f)
197 for module in sorted(self._functions.keys()):
199 for func in self._functions[module]:
206 self._functions.values()):
/aosp_15_r20/external/tensorflow/tensorflow/python/profiler/
H A Dpprof_profiler.py156 self._functions = functions
191 line.function_id = self._functions.index_of(
267 self._functions = Functions(self._string_table)
268 self._locations = Locations(self._functions)
357 pprof_profile.function.extend(self._functions.function_protos())
/aosp_15_r20/external/ComputeLibrary/tests/validation/fixtures/UNIT/
H A DDynamicTensorFixture.h428 _functions.emplace_back(std::make_unique<ComplexFunctionType>(_ms.mm)); in run()
460 _functions[f]->configure(&tensors[f], &ws[f], nullptr, &tensors[f + 1], info); in run()
476 _functions[f]->run(); in run()
489 std::vector<std::unique_ptr<ComplexFunctionType>> _functions{};
/aosp_15_r20/external/tensorflow/tensorflow/python/eager/
H A Dwrap_function.py353 for f in self.graph._functions.values():
458 self._functions = {}
462 return self._functions
553 self._functions[name] = wrapped_function
H A Dlift_to_graph.py116 f = base_graph._functions.get(op.type, None)
117 if f is not None and compat.as_str(f.name) not in graph._functions:
H A Dfunction_test.py2686 self.assertLen(graph._functions, 2)
2687 functions = list(graph._functions.values())
2731 self.assertLen(graph._functions, 6)
2733 functions = list(graph._functions.values())
2770 self.assertLen(graph._functions, 6)
2771 functions = list(graph._functions.values())
2808 self.assertLen(graph._functions, 6)
2810 functions = list(graph._functions.values())
2834 self.assertLen(graph._functions, 6)
2878 self.assertLen(graph._functions, 3)
[all …]
H A Dfunction.py428 for f in self.graph._functions.values():
1371 self._functions = functions
1378 forward_function = self._functions.forward(
1389 self._functions.record(
/aosp_15_r20/external/tensorflow/tensorflow/python/data/ops/
H A Ddataset_ops.py408 for used_function in self._functions():
428 def _functions(self): member in DatasetV2
4154 def _functions(self): member in DatasetV1Adapter
4155 return self._dataset._functions() # pylint: disable=protected-access
5421 def _functions(self): member in MapDataset
5473 def _functions(self): member in ParallelMapDataset
5505 def _functions(self): member in FlatMapDataset
5549 def _functions(self): member in InterleaveDataset
5619 def _functions(self): member in ParallelInterleaveDataset
5659 def _functions(self): member in FilterDataset
[all …]
H A Dload_op.py80 def _functions(self): member in _LoadDataset
H A Dsave_op.py92 def _functions(self): member in _SaveDataset
/aosp_15_r20/external/tensorflow/tensorflow/python/keras/saving/saved_model/
H A Dsave_impl.py412 self._functions = weakref.WeakValueDictionary()
464 for fn in self._functions.values():
564 self._functions[name] = fn.wrapped_call
/aosp_15_r20/external/pytorch/torch/autograd/
H A Dfunction.py14 from torch._C import _functions
623 err_fn = _functions.DelayedError(
/aosp_15_r20/external/pytorch/torch/_subclasses/
H A Dmeta_utils.py1162 r = torch._C._functions.DelayedError(
1200 r = torch._C._functions.DelayedError(
1251 r = torch._C._functions.DelayedError( # type: ignore[assignment]
1480 r = torch._C._functions.DelayedError(
/aosp_15_r20/external/pytorch/test/
H A Dtest_autograd_fallback.py360 w = torch._C._functions.UndefinedGrad()(w)
361 z = torch._C._functions.UndefinedGrad()(z)
/aosp_15_r20/external/tensorflow/tensorflow/python/framework/
H A Dconvert_to_constants.py658 self._functions = {
675 return self._functions
718 for f in self._functions.values():
H A Dops.py3155 self._functions = collections.OrderedDict()
3480 for f in self._functions.values():
3537 defined_function = self._functions[function_def.signature.name]
3623 return compat.as_str(name) in self._functions
3634 return self._functions.get(compat.as_str(name), None)
3668 self._functions[compat.as_str(name)] = function
6613 memory.dismantle_ordered_dict(graph._functions) # pylint: disable=protected-access
/aosp_15_r20/external/tensorflow/tensorflow/python/data/benchmarks/
H A Dfrom_tensor_slices_benchmark.py47 def _functions(self): member in SingleThreadedFlatMapDataset
/aosp_15_r20/external/pytorch/torch/nn/parallel/
H A Dscatter_gather.py6 from torch.nn.parallel._functions import Gather, Scatter
H A Dreplicate.py96 from torch.nn.parallel._functions import Broadcast
/aosp_15_r20/external/tensorflow/tensorflow/python/data/experimental/ops/
H A Dgrouping.py379 def _functions(self): member in _GroupByReducerDataset
H A Dprefetching_ops.py252 def _functions(self): member in _MapOnGpuDataset
H A Dbatching.py377 def _functions(self): member in _MapAndBatchDataset
/aosp_15_r20/external/pytorch/torch/nn/modules/
H A Dnormalization.py10 from ._functions import CrossMapLRN2d as _cross_map_lrn2d
/aosp_15_r20/external/pytorch/torch/utils/
H A Dhooks.py172 new_tensors = torch.nn.modules._functions.BackwardHookFunction.apply(*tensors)

1234