Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for flat_shape (0.12 sec)

  1. tensorflow/compiler/jit/xla_tpu_device.cc

        const TensorShape& shape, DataType type, bool use_fast_memory,
        XlaLayoutPreference layout_preference) {
      xla::Shape xla_shape;
      TF_RETURN_IF_ERROR(
          tensorflow::TensorShapeToXLAShape(type, shape, &xla_shape));
      ApiConverter::StackHelper<XLA_Shape> se_shape(xla_shape);
      ApiConverter::StackHelper<XLA_Shape> tpu_shape;
      StatusHelper status;
      stream_executor::tpu::ExecutorApiFn()->XlaShapeToTpuShapeRepresentationFn(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

          [shape_determination_fns](
              const xla::Shape& xla_shape) -> absl::StatusOr<xla::Shape> {
        TensorShape shape;
        TF_RETURN_IF_ERROR(XLAShapeToTensorShape(xla_shape, &shape));
        TF_ASSIGN_OR_RETURN(DataType dtype, EncodePrimitiveTypeAsDataType(
                                                xla_shape.element_type()));
        auto layout_preference = shape_determination_fns.layout_preference_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)
Back to top