Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for shape_representation_fn (0.3 sec)

  1. tensorflow/compiler/jit/xla_compiler_options_util.cc

              << (options.shape_determination_fns.layout_preference_fn != nullptr)
              << ",options.shape_determination_fns.shape_representation_fn?="
              << (options.shape_determination_fns.shape_representation_fn !=
                  nullptr)
              << ",allow_cpu_custom_calls=" << options.allow_cpu_custom_calls
              << ",populate_resource_manager=" << options.populate_resource_manager
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_cpu_device.cc

      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);
    
      // Setting AcceleratorDeviceInfo because eager runtime relies on the device
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. 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);
    
        Status status = device->UseAcceleratorDeviceInfo();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/pjrt_base_device.cc

          metadata_(DeviceType(options.compilation_device_name),
                    options.shape_determination_fns) {
      if (options.shape_determination_fns.empty()) {
        LOG(ERROR) << "shape_representation_fns must be non-empty.";
      }
      VLOG(1) << "Created PJRT base device " << options.compilation_device_name
              << " device_name: " << name();
    }
    
    /*static*/ absl::StatusOr<const PjRtBaseDevice::Metadata*>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/pjrt_base_device.h

        // (e.g., "XLA_CPU_JIT");
        std::string compilation_device_name;
    
        // A vector of ShapeDeterminationFn (i.e., a bundle of LayoutSelectionFn,
        // ShapeRepresentationFn). Each bundle describes how the on-host shapes of
        // a) argument and return value, for entry computations b) variables, for
        // all computations, should be represented in XLA. Parameters/return values
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top