Home
last modified time | relevance | path

Searched refs:input_mapping (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_compiler.cc431 std::vector<int>* input_mapping, std::vector<xla::Shape>* input_shapes, in BuildArguments() argument
438 input_mapping->clear(); in BuildArguments()
439 input_mapping->reserve(args.size()); in BuildArguments()
465 input_mapping->push_back(i); in BuildArguments()
478 input_mapping->insert(input_mapping->end(), resources.begin(), in BuildArguments()
480 if (input_mapping->empty()) { in BuildArguments()
484 std::vector<xla::Shape> arg_shapes(input_mapping->size()); in BuildArguments()
485 for (std::vector<int>::size_type i = 0; i < input_mapping->size(); ++i) { in BuildArguments()
488 XLAShapeForArgument(args[(*input_mapping)[i]], &arg_shapes[i])); in BuildArguments()
518 std::vector<xla::ComputationDataHandle> arg_handles(input_mapping->size()); in BuildArguments()
[all …]
Dxla_compiler.h206 std::vector<int> input_mapping; member
318 std::vector<int>* input_mapping,
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dwhile_op.cc236 int num_inputs = body.input_mapping.size(); in Compile()
239 int input_num = body.input_mapping[i]; in Compile()
272 ctx->SetOutput(body.input_mapping[i], in Compile()
/external/tensorflow/tensorflow/core/kernels/
Dops_testutil.h116 void AddInput(const TensorShape& shape, std::function<T(int)> input_mapping) { in AddInput() argument
117 test::FillFn(AddInput(DataTypeToEnum<T>::v(), shape), input_mapping); in AddInput()
Drestore_v2_op_test.cc41 std::function<T(int)> input_mapping) { in MakeInput() argument
43 test::FillFn(&input, input_mapping); in MakeInput()
Drestore_op_test.cc55 std::function<T(int)> input_mapping) { in MakeInput() argument
57 test::FillFn(&input, input_mapping); in MakeInput()
/external/tensorflow/tensorflow/compiler/jit/kernels/
Dxla_launch_op.cc283 int arg_num = kernel->input_mapping[i]; in Compute()