Home
last modified time | relevance | path

Searched refs:argument_layouts (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dlocal_service.cc125 const absl::Span<const Shape* const> argument_layouts, in CompileExecutables() argument
132 if (argument_layouts.size() != program_shape.parameters_size()) { in CompileExecutables()
135 program_shape.parameters_size(), argument_layouts.size()); in CompileExecutables()
138 for (int i = 0; i < argument_layouts.size(); ++i) { in CompileExecutables()
139 const Shape& argument_shape = *argument_layouts[i]; in CompileExecutables()
173 CreateModuleConfig(program_shape, argument_layouts, &execution_options)); in CompileExecutables()
Dlocal_service.h52 const absl::Span<const Shape* const> argument_layouts,
Dcompile_only_service.h44 std::vector<const Shape*> argument_layouts; member
Dcompile_only_service.cc103 instance.argument_layouts, &execution_options, &options)); in CompileAheadOfTime()
/external/tensorflow/tensorflow/compiler/xla/client/
Dcompile_only_client.cc46 service_instance.argument_layouts = instance.argument_layouts; in CompileAheadOfTime()
Dcompile_only_client.h44 std::vector<const Shape*> argument_layouts; member
Dlocal_client.h122 const absl::Span<const Shape* const> argument_layouts,
Dlocal_client.cc342 const absl::Span<const Shape* const> argument_layouts, in Compile() argument
352 computation, argument_layouts, updated_options)); in Compile()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dlocal_client_test_base.cc192 std::vector<const Shape*> argument_layouts(arguments.size()); in ExecuteLocally() local
194 argument_layouts[i] = &arguments[i]->on_host_shape(); in ExecuteLocally()
198 local_client_->Compile(computation, argument_layouts, build_options)); in ExecuteLocally()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dxrt_compile_ops.cc113 std::vector<xla::Shape> argument_layouts( in Compile() local
118 argument_layouts[i] = xla::Shape(config.program_shape().parameters(i)); in Compile()
119 argument_layout_ptrs[i] = &argument_layouts[i]; in Compile()
/external/tensorflow/tensorflow/compiler/xla/python/
Dlocal_client.cc966 absl::optional<std::vector<Shape>> argument_layouts, in CompileForDevices() argument
1006 return Compile(computation, std::move(argument_layouts), build_options, in CompileForDevices()
1012 absl::optional<std::vector<Shape>> argument_layouts, in Compile() argument
1052 if (!argument_layouts) { in Compile()
1055 argument_layouts = program_shape.parameters(); in Compile()
1056 for (Shape& shape : *argument_layouts) { in Compile()
1061 argument_layout_pointers.reserve(argument_layouts->size()); in Compile()
1079 for (Shape& layout : *argument_layouts) { in Compile()
Dlocal_client.h293 absl::optional<std::vector<Shape>> argument_layouts,
303 absl::optional<std::vector<Shape>> argument_layouts,
Dxla_client.py153 compile_options.argument_layouts,
524 self.argument_layouts = None
588 compile_options.argument_layouts = argument_shapes
Dxla_client_test.py1995 options.argument_layouts = [
/external/tensorflow/tensorflow/compiler/xla/tools/
Dreplay_computation.cc117 std::vector<Shape> argument_layouts; in CompileExecutable() local
118 argument_layouts.reserve( in CompileExecutable()
123 argument_layouts.push_back(Shape(param)); in CompileExecutable()
124 argument_layout_ptrs.push_back(&argument_layouts.back()); in CompileExecutable()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_compilation_cache.cc153 std::vector<const xla::Shape*> argument_layouts( in BuildExecutable() local
156 argument_layouts[i] = &result.xla_input_shapes[i]; in BuildExecutable()
168 client_->Compile(*result.computation, argument_layouts, build_options)); in BuildExecutable()
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/client/
Dtpu_client.py104 compile_options.argument_layouts,
Dtpu_client.h263 absl::optional<std::vector<Shape>> argument_layouts,
272 absl::optional<std::vector<Shape>> argument_layouts,
Dtpu_client.cc723 absl::optional<std::vector<Shape>> argument_layouts, in CompileForDevices() argument
763 return Compile(computation, std::move(argument_layouts), build_options, in CompileForDevices()
769 absl::optional<std::vector<Shape>> argument_layouts, in Compile() argument
806 CHECK(!argument_layouts.has_value()); in Compile()
/external/tensorflow/tensorflow/compiler/aot/
Dcompile.cc76 instance.argument_layouts = std::move(arg_layout_ptrs); in CompileXla()