Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetInputMemoryTypes (0.18 sec)

  1. tensorflow/compiler/jit/xla_kernel_creator.cc

      std::vector<int> resource_arg_indices;
      TF_RETURN_IF_ERROR(GetBodyAndConstantsAndResources(
          flr, function, &fbody, &constant_arg_indices, &resource_arg_indices));
    
      MemoryTypeVector input_memory_types =
          GetInputMemoryTypes(fbody, constant_arg_indices, resource_arg_indices);
      MemoryTypeVector output_memory_types = GetOutputMemoryTypes(fbody);
    
      // Create the kernel.
      Device* dev = flr->device();
      Status s;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 22:24:01 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/compilability_check_util.h

    // the actual executable, which is copied to the device before being
    // executed. Thus, when this executable runs, the constant is available in
    // device memory.
    tensorflow::MemoryTypeVector GetInputMemoryTypes(
        const tensorflow::FunctionBody* fbody,
        absl::Span<int const> constant_arg_indices,
        absl::Span<int const> resource_arg_indices);
    
    // Returns output memory types.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/compilability_check_util.cc

        if (arg_types[i] == DT_RESOURCE) {
          resource_arg_indices->push_back(i);
        }
      }
    
      return absl::OkStatus();
    }
    
    tensorflow::MemoryTypeVector GetInputMemoryTypes(
        const tensorflow::FunctionBody* fbody,
        absl::Span<int const> constant_arg_indices,
        absl::Span<int const> resource_arg_indices) {
      // Set input and output memory types.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top