- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for DEVICE_CPU (0.15 sec)
-
tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util_test.cc
StatusIs(error::INTERNAL, HasSubstr(absl::StrCat("PjRtClient for ", DEVICE_CPU, " is not type PjRtCApiClient")))); } TEST(TensorPjRtBufferUtilTest, GetPjRtCApiClientSuccess) { auto status = pjrt::PjrtApi(DEVICE_CPU); if (!status.ok()) { TF_ASSERT_OK(pjrt::SetPjrtApi(DEVICE_CPU, GetPjrtApi())); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 01 16:29:40 UTC 2024 - 7.2K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_platform_info_test.cc
DeviceType device_gpu = DeviceType(DEVICE_GPU); EXPECT_EQ(GetPersistentCacheDirectory(device_gpu), "/tmp/xla_cache"); DeviceType device_cpu = DeviceType(DEVICE_CPU); EXPECT_EQ(GetPersistentCacheDirectory(device_cpu), "/tmp/xla_cache"); DeviceType device_tpu = DeviceType(DEVICE_TPU); EXPECT_TRUE(GetPersistentCacheDirectory(device_tpu).empty()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Jan 14 15:17:12 UTC 2024 - 13.6K bytes - Viewed (0) -
tensorflow/compiler/jit/kernels/xla_ops.cc
int i = 0; if (ctx->has_input(i) || ctx->has_input(++i)) { ctx->set_output(0, ctx->input(i)); } } REGISTER_KERNEL_BUILDER(Name("XlaLaunch").Device(DEVICE_CPU), XlaLocalLaunchOp); REGISTER_KERNEL_BUILDER(Name("XlaLaunchV2").Device(DEVICE_CPU), XlaLaunchV2Op); REGISTER_KERNEL_BUILDER(Name("XlaLaunch") .Device(DEVICE_GPU) .HostMemory("constants")
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 22:46:36 UTC 2024 - 41.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/custom_aggregator_op.cc
input_flat.data()[i], lower_bound, bin_width, num_bins); histogram_flat.data()[bin_index] += 1; } } }; REGISTER_KERNEL_BUILDER(Name("CustomAggregator").Device(DEVICE_CPU), CustomAggregatorOp);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 01:09:50 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/debugging/dump_tensor_op.cc
} private: bool enabled_; std::unique_ptr<tsl::WritableFile> tensor_data_file_; std::unique_ptr<io::RecordWriter> tensor_data_writer_; }; REGISTER_KERNEL_BUILDER(Name("DumpTensor").Device(DEVICE_CPU), DumpTensorOp);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 03:12:17 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc
// CPU devices of the same job as the TPU_SYSTEM device. system_device.type = tensorflow::DEVICE_CPU; return DeviceNameUtils::ParsedNameToString(system_device); } // Find the host CPU device for a given TPU device with `DEVICE_CPU` as its // type. If multiple local cpu devices are disabled, always assign id 0. If // set, use the same id as the tpu device.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 20:10:40 UTC 2024 - 32.8K bytes - Viewed (0) -
tensorflow/compiler/jit/get_compiler_ir.cc
stage == IrExportStage::HLO_SERIALIZED; }; // TODO(b/238830423): support GetCompilerIr on TFRT TPU device for stages // that requires compilation from HLO to executable. if (device_type != DEVICE_CPU && stream == nullptr && !is_tfrt_tpu_supported_stage(stage)) { return absl::InternalError( "GetCompilerIr with requested stage is not supported on this device."); } return absl::OkStatus(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 19K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op.cc
default: collector = std::make_unique<CalibrationStatisticsCollectorMinMax>(); } } }; REGISTER_KERNEL_BUILDER(Name("CalibrationStatisticsSaver").Device(DEVICE_CPU), CalibrationStatisticsSaverOp);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 13 01:31:23 UTC 2024 - 8K bytes - Viewed (0) -
tensorflow/compiler/jit/device_util.cc
DeviceType* device_type = id_to_device_type_.back().get(); TF_RETURN_IF_ERROR(DeviceNameToDeviceType(names_.back(), device_type)); is_cpu_.push_back(device_type->type_string() == DEVICE_CPU); is_gpu_.push_back(device_type->type_string() == DEVICE_GPU); name_to_id_.emplace(string(name), DeviceId(new_id)); const XlaOpRegistry::DeviceRegistration* compilation_device;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 7.8K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc
// Early return for any node with a device that is not a CPU or GPU. DeviceNameUtils::ParsedName parsed; if (DeviceNameUtils::ParseFullName(n->requested_device(), &parsed)) { if (parsed.type != DEVICE_CPU && parsed.type != DEVICE_GPU) { return false; } } } return true; } // Checks if a graph node is marked to be a guaranteed constant. bool is_guaranteed_constant(const Node& n) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 15.1K bytes - Viewed (0)