/external/tensorflow/tensorflow/cc/experimental/libtf/tests/ |
D | function_test.cc | 155 Function tf_function; in TEST_P() local 158 Status s = tf_function.RegisterTrace(std::move(trace), signature, signature); in TEST_P() 161 StatusOr<TaggedValue> v = tf_function.Execute(ctx_.get(), args); in TEST_P() 173 Function tf_function; in TEST_P() local 180 tf_function.RegisterTrace(std::move(trace), input_signature, tensor_spec); in TEST_P() 185 StatusOr<TaggedValue> v = tf_function.Execute(ctx_.get(), args); in TEST_P() 196 Function tf_function; in TEST_P() local 202 Status s = tf_function.RegisterTrace(std::move(trace), signature, signature); in TEST_P() 207 StatusOr<TaggedValue> v = tf_function.Execute(ctx_.get(), args); in TEST_P() 219 Function tf_function; in TEST_P() local [all …]
|
/external/tensorflow/tensorflow/python/distribute/ |
D | strategy_common_test.py | 253 tf_function=[True, False], 257 def testDenseUpdate(self, strategy, tf_function, update_fn): argument 258 if isinstance(strategy, tpu_strategy.TPUStrategy) and (not tf_function): 277 if tf_function: 296 tf_function=[combinations.tf_function, combinations.no_tf_function], 300 def testDense(self, strategy, tf_function): argument 302 tf_function is combinations.no_tf_function): 305 @tf_function 319 def testSparse(self, strategy, tf_function): argument 320 if tf_function is combinations.no_tf_function: [all …]
|
D | values_v2_test.py | 390 tf_function=[combinations.tf_function, combinations.no_tf_function])) 406 def testRead(self, strategy, enable_packed_handle, tf_function): argument 414 @tf_function 419 @tf_function 424 @tf_function 433 def testAssign(self, strategy, enable_packed_handle, tf_function): argument 436 @tf_function 441 @tf_function 455 def testStrategyRun(self, strategy, enable_packed_handle, tf_function): argument 457 tf_function is combinations.no_tf_function): [all …]
|
D | combinations_test.py | 182 tf_function_1=combinations.tf_function,
|
/external/tensorflow/tensorflow/core/profiler/convert/ |
D | xplane_to_tf_functions_test.cc | 83 const TfFunction& tf_function = in TEST() local 85 EXPECT_EQ(tf_function.total_tracing_count(), 4); in TEST() 86 EXPECT_EQ(tf_function.compiler(), MIXED_COMPILER); in TEST() 87 EXPECT_NEAR(tf_function.expensive_call_percent(), 90, kMaxError); in TEST() 89 const auto& metrics = tf_function.metrics(); in TEST()
|
D | xplane_to_tf_functions.cc | 62 double ComputeExpensiveCallPercent(const TfFunction& tf_function) { in ComputeExpensiveCallPercent() argument 66 for (const auto& mode_metrics : tf_function.metrics()) { in ComputeExpensiveCallPercent()
|
/external/tensorflow/tensorflow/cc/experimental/libtf/runtime/ |
D | runtime.cc | 111 Function tf_function; in ImportModule() local 151 Status status = tf_function.RegisterTrace( in ImportModule() 154 TaggedValue callable = MakeCallable(child_name, tf_function, ctx); in ImportModule()
|
/external/tensorflow/tensorflow/c/ |
D | c_api_function.cc | 205 TF_Function* tf_function = new TF_Function(); in TF_GraphToFunctionWithControlOutputs() local 212 control_output_names_vec, description, &tf_function->fdef); in TF_GraphToFunctionWithControlOutputs() 214 TF_DeleteFunction(tf_function); in TF_GraphToFunctionWithControlOutputs() 219 tf_function->stack_traces[n->name()] = n->GetStackTrace(); in TF_GraphToFunctionWithControlOutputs() 222 return tf_function; in TF_GraphToFunctionWithControlOutputs()
|
/external/tensorflow/tensorflow/python/keras/layers/preprocessing/benchmarks/ |
D | category_hash_varlen_benchmark.py | 19 from tensorflow.python.eager.def_function import function as tf_function unknown 53 @tf_function()
|
D | bucketized_column_dense_benchmark.py | 21 from tensorflow.python.eager.def_function import function as tf_function unknown 54 @tf_function()
|
D | category_hash_dense_benchmark.py | 19 from tensorflow.python.eager.def_function import function as tf_function unknown 52 @tf_function()
|
D | embedding_dense_benchmark.py | 19 from tensorflow.python.eager.def_function import function as tf_function unknown 54 @tf_function()
|
D | category_vocab_list_dense_benchmark.py | 19 from tensorflow.python.eager.def_function import function as tf_function unknown 50 @tf_function()
|
D | embedding_varlen_benchmark.py | 19 from tensorflow.python.eager.def_function import function as tf_function unknown 55 @tf_function()
|
D | category_vocab_list_varlen_benchmark.py | 19 from tensorflow.python.eager.def_function import function as tf_function unknown 53 @tf_function()
|
D | category_vocab_list_indicator_dense_benchmark.py | 19 from tensorflow.python.eager.def_function import function as tf_function unknown 56 @tf_function()
|
D | category_vocab_list_indicator_varlen_benchmark.py | 19 from tensorflow.python.eager.def_function import function as tf_function unknown 59 @tf_function()
|
D | weighted_embedding_varlen_benchmark.py | 19 from tensorflow.python.eager.def_function import function as tf_function unknown 63 @tf_function()
|
D | category_cross_hash_dense_benchmark.py | 19 from tensorflow.python.eager.def_function import function as tf_function unknown 56 @tf_function()
|
D | category_vocab_file_dense_benchmark.py | 21 from tensorflow.python.eager.def_function import function as tf_function unknown 68 @tf_function()
|
D | category_vocab_file_varlen_benchmark.py | 21 from tensorflow.python.eager.def_function import function as tf_function unknown 71 @tf_function()
|
/external/tensorflow/tensorflow/python/distribute/coordinator/ |
D | values.py | 33 from tensorflow.python.eager import function as tf_function unknown 338 elif not isinstance(dataset_fn, tf_function.ConcreteFunction): 378 if not isinstance(self._dataset_fn, tf_function.ConcreteFunction):
|
D | cluster_coordinator.py | 40 from tensorflow.python.eager import function as tf_function unknown 188 elif isinstance(function, tf_function.ConcreteFunction): 1031 (def_function.Function, tf_function.ConcreteFunction)):
|
/external/tensorflow/tensorflow/core/profiler/protobuf/ |
D | BUILD | 131 srcs = ["tf_function.proto"],
|
D | op_stats.proto | 9 import "tensorflow/core/profiler/protobuf/tf_function.proto";
|