Home
last modified time | relevance | path

Searched refs:func_lib (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/optimizers/
Dfunction_api_info_test.cc71 FunctionDefLibrary* func_lib) { in PopulateSampleLibrary() argument
77 "", func_lib->add_function()); in PopulateSampleLibrary()
80 "", func_lib->add_function()); in PopulateSampleLibrary()
82 func_lib->add_function()); in PopulateSampleLibrary()
84 func_lib->add_function()); in PopulateSampleLibrary()
86 func_lib->add_function()); in PopulateSampleLibrary()
89 void PopulateComplexLibrary(FunctionDefLibrary* func_lib) { in PopulateComplexLibrary() argument
96 "DoStuffCpu_gradient", func_lib->add_function()); in PopulateComplexLibrary()
98 input_args, "DoStuffCpu", "", func_lib->add_function()); in PopulateComplexLibrary()
101 func_lib->add_function()); in PopulateComplexLibrary()
[all …]
/external/tensorflow/tensorflow/core/kernels/data/
Dreduce_dataset_op_test.cc30 std::vector<FunctionDef> func_lib, in ReduceDatasetParams() argument
40 func_lib_(std::move(func_lib)), in ReduceDatasetParams()
82 std::vector<FunctionDef> func_lib() const override { return func_lib_; } in func_lib() function in tensorflow::data::__anon161764120111::ReduceDatasetParams
Dflat_map_dataset_op_test.cc28 std::vector<FunctionDef> func_lib, in FlatMapDatasetParams() argument
37 func_lib_(std::move(func_lib)), in FlatMapDatasetParams()
70 std::vector<FunctionDef> func_lib() const override { return func_lib_; } in func_lib() function in tensorflow::data::__anon39b5995e0111::FlatMapDatasetParams
Dfilter_dataset_op_test.cc28 std::vector<FunctionDef> func_lib, in FilterDatasetParams() argument
37 func_lib_(std::move(func_lib)), in FilterDatasetParams()
70 std::vector<FunctionDef> func_lib() const override { return func_lib_; } in func_lib() function in tensorflow::data::__anon0fb156e00111::FilterDatasetParams
Dparallel_map_dataset_op_test.cc29 std::vector<FunctionDef> func_lib, in ParallelMapDatasetParams() argument
40 func_lib_(std::move(func_lib)), in ParallelMapDatasetParams()
85 std::vector<FunctionDef> func_lib() const override { return func_lib_; } in func_lib() function in tensorflow::data::__anona3845b840111::ParallelMapDatasetParams
Dmap_defun_op_test.cc31 std::vector<FunctionDef> func_lib, in MapDefunOpParams() argument
40 func_lib_(std::move(func_lib)), in MapDefunOpParams()
76 std::vector<FunctionDef> func_lib() const override { return func_lib_; } in func_lib() function in tensorflow::data::__anonbab0be240111::MapDefunOpParams
Dmap_defun_op.cc158 auto func_lib = ctx->function_library(); in MapDefunOp() local
159 OP_REQUIRES(ctx, func_lib != nullptr, in MapDefunOp()
164 func_lib->Instantiate(func->name(), AttrSlice(&func->attr()), in MapDefunOp()
Dinterleave_dataset_op_test.cc29 std::vector<FunctionDef> func_lib, in InterleaveDatasetParams() argument
40 func_lib_(std::move(func_lib)), in InterleaveDatasetParams()
79 std::vector<FunctionDef> func_lib() const override { return func_lib_; } in func_lib() function in tensorflow::data::__anon329b71090111::InterleaveDatasetParams
Dparallel_interleave_dataset_op_test.cc30 std::vector<FunctionDef> func_lib, DataTypeVector type_arguments, in ParallelInterleaveDatasetParams() argument
41 func_lib_(std::move(func_lib)), in ParallelInterleaveDatasetParams()
90 std::vector<FunctionDef> func_lib() const override { return func_lib_; } in func_lib() function in tensorflow::data::__anon259ec4f50111::ParallelInterleaveDatasetParams
Ddataset_test_base.h160 virtual std::vector<FunctionDef> func_lib() const { return {}; } in func_lib() function
249 std::vector<FunctionDef> func_lib, in MapDatasetParams() argument
258 func_lib_(std::move(func_lib)), in MapDatasetParams()
276 std::vector<FunctionDef> func_lib() const override;
Ddataset_test_base.cc712 InitFunctionLibraryRuntime(dataset_params.func_lib(), cpu_num_)); in InitializeRuntime()
975 std::vector<FunctionDef> MapDatasetParams::func_lib() const { in func_lib() function in tensorflow::data::MapDatasetParams
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dmap_and_batch_dataset_op_test.cc30 std::vector<FunctionDef> func_lib, DataTypeVector type_arguments, in MapAndBatchDatasetParams() argument
40 func_lib_(std::move(func_lib)), in MapAndBatchDatasetParams()
83 std::vector<FunctionDef> func_lib() const override { return func_lib_; } in func_lib() function in tensorflow::data::experimental::__anon01464bc80111::MapAndBatchDatasetParams
Dparallel_interleave_dataset_op_test.cc32 std::vector<FunctionDef> func_lib, DataTypeVector type_arguments, in ParallelInterleaveDatasetParams() argument
44 func_lib_(std::move(func_lib)), in ParallelInterleaveDatasetParams()
95 std::vector<FunctionDef> func_lib() const override { return func_lib_; } in func_lib() function in tensorflow::data::experimental::__anonc3550b920111::ParallelInterleaveDatasetParams
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Dremote_copy_node.cc46 FunctionLibraryRuntime* flr = ctx.func_lib(device); in CreateUncachedKernelAndDeviceOp()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcontext.h133 FunctionLibraryRuntime* func_lib(const Device* d) const { in func_lib() function
Dexecute.cc479 device == nullptr ? nullptr : ctx.func_lib(device); in EagerLocalExecute()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dimport_model.cc1060 const auto& func_lib = graph_flib_; in ConvertLibFunction() local
1061 const auto* func_def = func_lib.Find(std::string(func_name)); in ConvertLibFunction()
1071 FunctionDefToBodyHelper(*func_def, AttrSlice(), &func_lib, &fbody)); in ConvertLibFunction()
1095 auto grad_func_name = func_lib.FindGradient(std::string(func_name)); in ConvertLibFunction()