- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for layout_preference_fn (0.31 sec)
-
tensorflow/compiler/jit/xla_compiler_options_util_test.cc
return xla::Shape(); }; XlaShapeLayoutHelpers::LayoutPreferenceFn layout_preference_fn = [](const TensorShape&, DataType, std::optional<XlaArgument::Kind>) { return tensorflow::XlaLayoutPreference::kTpuPreferLinearLayout; }; return {XlaShapeLayoutHelpers::ShapeDeterminationFns{ layout_preference_fn, shape_representation_fn}}; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Dec 29 01:41:20 UTC 2023 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_compiler_options_util.cc
<< ",client=" << options.client << ",flib_def=" << options.flib_def << ",graph_def_version=" << options.graph_def_version << ",options.shape_determination_fns.layout_preference_fn?=" << (options.shape_determination_fns.layout_preference_fn != nullptr) << ",options.shape_determination_fns.shape_representation_fn?=" << (options.shape_determination_fns.shape_representation_fn != nullptr)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 6.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc
xla::Shape& xla_shape = individual_arg_shapes.back(); DataType arg_dtype; TF_RETURN_IF_ERROR(ConvertToDataType(func_type.getInput(i), &arg_dtype)); auto layout_preference = shape_determination_fns.layout_preference_fn( arg_shapes[i].shape, arg_dtype, std::nullopt); TF_ASSIGN_OR_RETURN(xla_shape, shape_determination_fns.shape_representation_fn(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 17:24:39 UTC 2024 - 45.3K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_device_context.cc
XlaTensor* xla_tensor = XlaTensor::FromTensor(device_tensor); CHECK(xla_tensor); XlaLayoutPreference layout_preference = shape_determination_fns_.layout_preference_fn( device_tensor->shape(), device_tensor->dtype(), std::nullopt); Status status = [&]() -> Status { TF_ASSIGN_OR_RETURN(xla::Shape shape,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 00:36:08 UTC 2024 - 12.7K bytes - Viewed (0) -
tensorflow/compiler/jit/pjrt_device_context.cc
xla::PjRtClient* pjrt_client, const XlaShapeLayoutHelpers::ShapeDeterminationFns shape_determination_fns) { XlaLayoutPreference layout_preference = shape_determination_fns.layout_preference_fn( cpu_tensor->shape(), cpu_tensor->dtype(), std::nullopt); TF_ASSIGN_OR_RETURN(xla::Shape shape, shape_determination_fns.shape_representation_fn(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 08:49:31 UTC 2024 - 11.6K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_tpu_device.cc
const auto& shape_determination_fns = dst_xla_context->shape_determination_fns(); XlaLayoutPreference layout_preference = shape_determination_fns.layout_preference_fn( input->shape(), input->dtype(), std::nullopt); TF_ASSIGN_OR_RETURN(xla::Shape shape, shape_determination_fns.shape_representation_fn(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 22:53:47 UTC 2024 - 20.9K bytes - Viewed (0)