Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetBodyAndConstantsAndResources (0.36 sec)

  1. tensorflow/compiler/jit/force_xla_constants_on_host_pass.cc

          NameAttrList function;
          TF_RETURN_IF_ERROR(NameAndAttrsFromFunctionCall(node->def(), &function));
    
          // Force all constants to be on the host memory.
          TF_RETURN_IF_ERROR(GetBodyAndConstantsAndResources(
              flr, function, &fbody, &constant_arg_indices, &resource_arg_indices));
          VLOG(3) << "Found constant arg indices: "
                  << absl::StrJoin(constant_arg_indices, ", ");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_kernel_creator.cc

      TF_RETURN_IF_ERROR(NameAndAttrsFromFunctionCall(node_def, &function));
      const FunctionBody* fbody = nullptr;
      std::vector<int> constant_arg_indices;
      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);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 22:24:01 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top