Home
last modified time | relevance | path

Searched refs:flib_ (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/
Dmlir_graph_optimization_pass_test.cc93 flib_.reset(new FunctionLibraryDefinition(graph_->flib_def())); in Init()
132 std::unique_ptr<FunctionLibraryDefinition> flib_; member in tensorflow::MlirGraphOptimizationPassTest
145 device_set_, config_proto_, &graph_, flib_.get(), in TEST_F()
160 device_set_, config_proto_, &graph_, flib_.get(), in TEST_F()
174 device_set_, config_proto_, &graph_, flib_.get(), in TEST_F()
190 device_set_, config_proto_, &graph_, flib_.get(), in TEST_F()
209 device_set_, config_proto_, &graph_, flib_.get(), in TEST_F()
226 device_set_, config_proto_, &graph_, flib_.get(), in TEST_F()
/external/tensorflow/tensorflow/core/kernels/
Dbatch_kernels.cc139 flib_(flib) {} in BatchResource()
151 flib_(flib) {} in BatchResource()
171 flib_->Run(opts, fhandle_, inputs, combined_outputs, in ProcessFuncBatchImpl()
184 FunctionLibraryRuntime* flib_; member in tensorflow::BatchResource
202 flib_ = c->function_library(); in BatchFunctionKernel()
292 handle, flib_, &new_resource)); in ComputeAsync()
301 max_enqueued_batches_, allowed_batch_sizes_, handle, flib_, in ComputeAsync()
323 if (!flib_) { in InstantiateFunction()
328 opts.target = flib_->device() == nullptr ? "" : flib_->device()->name(); in InstantiateFunction()
330 const ConfigProto* config = flib_->config_proto(); in InstantiateFunction()
[all …]
/external/tensorflow/tensorflow/core/kernels/data/
Dhash_utils.cc153 : graph_(graph), root_(root), flib_(flib) {} in GraphHasher()
309 TF_RETURN_IF_ERROR(flib_->LookUp(node->op(), &reg)); in HashNodeNonInput()
347 TF_RETURN_IF_ERROR(flib_->LookUp(this_node->op(), &reg)); in CheckNodesEqualNonInput()
467 const FunctionDef* fdef = flib_->Find(name); in HashFunction()
472 FunctionDefToBodyHelper(*fdef, AttrSlice(&attrs), flib_, &fbody)); in HashFunction()
480 GraphHasher hasher(&graph_def, &ret_node->def(), flib_); in HashFunction()
521 const FunctionDef* this_fdef = flib_->Find(this_name); in CheckFunctionsEqualHelper()
522 const FunctionDef* that_fdef = that->flib_->Find(that_name); in CheckFunctionsEqualHelper()
527 *this_fdef, AttrSlice(&this_attrs), flib_, &this_fbody)); in CheckFunctionsEqualHelper()
531 *that_fdef, AttrSlice(&that_attrs), that->flib_, &that_fbody)); in CheckFunctionsEqualHelper()
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/
Dgraph_compiler.h63 flib_(flib), in GraphCompiler()
83 FunctionLibraryRuntime* flib_; variable
Dgraph_compiler.cc139 Status s = flib_->CreateKernel(n->properties(), &op_kernel_raw); in Compile()
173 if (IsFunctionCall(*flib_->GetFunctionLibraryDefinition(), *n)) { in Compile()
228 TF_RET_CHECK(IsFunctionCall(*flib_->GetFunctionLibraryDefinition(), *n)); in CompileFunctionalNode()
239 TF_RETURN_IF_ERROR(GetFunctionNameAndAttr(*flib_, *n, &func)); in CompileFunctionalNode()
338 params->function_library = flib_; in PartiallySetupParams()
/external/tensorflow/tensorflow/core/framework/
Dop_kernel.h349 FunctionLibraryRuntime* function_library() const { return flib_; } in function_library()
379 FunctionLibraryRuntime* flib_; variable
Dop_kernel.cc238 flib_(flib), in OpKernelConstruction()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dimport_model.cc166 : flib_(flib) {} in NameUniquifier()
170 return !flib_.Contains(std::string(name)); in IsUnique()
178 const FunctionLibraryDefinition& flib_; member in tensorflow::__anon014ec6670111::NameUniquifier