Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for UseNoPreferenceLayoutFn (0.35 sec)

  1. tensorflow/compiler/jit/xla_cpu_device.cc

      options.device_ordinal = 0;
      options.compilation_device_name = DEVICE_CPU_XLA_JIT;
      options.use_multiple_streams = false;
      XlaShapeLayoutHelpers::ShapeDeterminationFns shape_representation_fns{
          UseNoPreferenceLayoutFn(), IdentityShapeRepresentationFn()};
      options.shape_determination_fns = {shape_representation_fns};
      auto device = std::make_unique<XlaDevice>(session_options, options);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_gpu_device.cc

        options.use_multiple_streams = true;
        options.allowed_devices = gpu_ids;
        XlaShapeLayoutHelpers::ShapeDeterminationFns shape_representation_fns{
            UseNoPreferenceLayoutFn(), IdentityShapeRepresentationFn()};
        options.shape_determination_fns = {shape_representation_fns};
        auto device = std::make_unique<XlaDevice>(session_options, options);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_launch_util_gpu_test.cc

                                     "/job:localhost/replica:0/task:0");
        device_ = device.get();
        SetDevice(device_type, std::move(device));
    
        XlaShapeLayoutHelpers::ShapeDeterminationFns shape_fns{
            UseNoPreferenceLayoutFn(), IdentityShapeRepresentationFn()};
        device_context_ = core::RefCountPtr<DeviceContext>(
            new PjRtDeviceContext(shape_fns, /*use_pjrt_tensor_buffer=*/true));
    
        // Get the host allocator.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 10K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc

      XlaHelpers::ShapeRepresentationFn shape_representation_fn =
          IdentityShapeRepresentationFn();
      XlaShapeLayoutHelpers::ShapeDeterminationFns shape_determination_fns{
          UseNoPreferenceLayoutFn(), IdentityShapeRepresentationFn()};
      return PopulateResultIOInfo(module_op, arg_shapes, /*use_tuple_args=*/false,
                                  /*use_resource_updates_for_aliases=*/false,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_tpu_device.cc

        // have one program running on each core at the same time.
        options.use_global_compute_stream = true;
        XlaShapeLayoutHelpers::ShapeDeterminationFns shape_determination_fns{
            UseNoPreferenceLayoutFn(), &TpuShapeRepresentation};
        options.shape_determination_fns = {shape_determination_fns};
        options.padded_shape_fn = &TpuPaddedShapeFn;
        auto device = std::make_unique<XlaDevice>(session_options, options);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top