- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for GetOutputMemoryTypes (0.18 sec)
-
tensorflow/compiler/jit/xla_kernel_creator.cc
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; auto props = std::make_shared<NodeProperties>( &fbody->record->fdef().signature(), node_def, fbody->arg_types,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 22:24:01 UTC 2023 - 4.4K bytes - Viewed (0) -
tensorflow/compiler/jit/build_xla_ops_pass.cc
xla_run_args.push_back(o); } input_idx++; } absl::c_copy(cluster_info.resource_inputs, std::back_inserter(xla_run_args)); return xla_run_args; } absl::StatusOr<MemoryTypeVector> GetOutputMemoryTypes(const Scope& root, Node* n) { MemoryTypeVector input_mtypes, output_mtypes; DeviceType device_type(""); TF_RETURN_IF_ERROR(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 24.3K bytes - Viewed (0) -
tensorflow/compiler/jit/compilability_check_util.h
// Returns output memory types. // // XlaLaunch kernel keeps all outputs (including constants, which it copies), // in device memory except for resources. tensorflow::MemoryTypeVector GetOutputMemoryTypes( const tensorflow::FunctionBody* fbody); // Check whether graph can trigger XLA compilation. bool CanTriggerXlaCompilation(const GraphDef& graph); } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 14.9K bytes - Viewed (0) -
tensorflow/compiler/jit/compilability_check_util.cc
// host memory. input_memory_types[i] = tensorflow::HOST_MEMORY; } } return input_memory_types; } tensorflow::MemoryTypeVector GetOutputMemoryTypes( const tensorflow::FunctionBody* fbody) { tensorflow::MemoryTypeVector output_memory_types(fbody->ret_types.size(), tensorflow::DEVICE_MEMORY);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 30.3K bytes - Viewed (0)