- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for components (0.19 sec)
-
tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc
std::array<TensorHandlePtr, 2> out_components; ExtractPerDeviceValues(context.get(), multiply_result.get(), &out_components, status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); ExpectScalarEq<float>(out_components[0].get(), 9.); ExpectScalarEq<float>(out_components[1].get(), 4.); } worker_server1.release();
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 22:09:57 GMT 2023 - 6.7K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
TFE_TensorHandleGetStatus(components[0].get(), status); if (!status->status.ok()) { return nullptr; } TF_DataType dtype = TFE_TensorHandleDataType(components[0].get()); // Verify that the combined TensorHandle's dtype matches all of the component // dtypes. for (TensorHandlePtr& component : components) { TFE_TensorHandleGetStatus(component.get(), status); if (!status->status.ok()) { return nullptr;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Feb 09 07:47:20 GMT 2024 - 25.4K bytes - Viewed (1) -
tensorflow/c/eager/parallel_device/parallel_device_test.cc
components[0] = negative_one_cpu.get(); components[1] = negative_one_cpu.get(); TensorHandlePtr first_negative_one = CreatePerDeviceValues( context.get(), components, first_device_name, status.get()); ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); components[0] = first_negative_one.get(); components[1] = negative_one_cpu.get();
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 08 23:47:35 GMT 2021 - 29.3K bytes - Viewed (1) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.cc
std::array<TensorHandlePtr, 2> components; ExtractPerDeviceValues(context, read.get(), &components, status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); ExpectScalarEq<float>(components[0].get(), 20.); ExpectScalarEq<float>(components[1].get(), 20.); std::string first_device = TFE_TensorHandleBackingDeviceName(components[0].get(), status.get());
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jun 15 15:44:44 GMT 2021 - 12.5K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
public: // Construct a ParallelTensor from TensorHandles placed on the component // devices of a ParallelDevice. If called, ParallelTensor::Shape inspects // `components` to determine a shape. static std::unique_ptr<ParallelTensor> FromTensorHandles( const ParallelDevice& parallel_device, std::vector<TensorHandlePtr> components, TF_Status* status);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 25 15:21:13 GMT 2023 - 12.9K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device.h
// two component devices, running `x = TPUReplicatedInput(inputs=[a, b])` on the // parallel device creates a parallel tensor `x` with `a` on the first of // `underlying_devices` and `b` on the second. Running `a_unpacked, b_unpacked = // TPUReplicatedOutput(input=x, num_replicas=2)` un-packs the parallel tensor // into its components. //
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jun 04 21:49:16 GMT 2020 - 2.9K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.h
std::array<TensorHandlePtr, num_replicas>* components, TF_Status* status); // Helper to pack `num_replicas` TFE_TensorHandles into one parallel handle. template <std::size_t num_replicas> TensorHandlePtr CreatePerDeviceValues( TFE_Context* context, const std::array<TFE_TensorHandle*, num_replicas>& components, const char* device, TF_Status* status);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 09 01:12:35 GMT 2021 - 6.9K bytes - Viewed (0) -
ci/devinfra/docker_windows/Dockerfile
"--quiet", "--wait", "--nocache", \ "--add", "Microsoft.VisualStudio.Workload.VCTools", \ "--add", "Microsoft.VisualStudio.Component.VC.Tools.x86.x64", \ "--add", "Microsoft.VisualStudio.Component.Windows10SDK.19041" -Wait; \ Start-Process -FilePath C:/TEMP/vs_buildtools.exe -ArgumentList "--installPath", "C:/VS", \ "--quiet", "--wait", "--nocache", "--includeOptional", \
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Fri Aug 18 17:24:20 GMT 2023 - 13.6K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device.cc
" inputs to TPUReplicatedInput, but got ", inputs.size())); TF_SetStatus(status, TF_INVALID_ARGUMENT, message.c_str()); return result; } std::vector<TensorHandlePtr> components; components.reserve(inputs.size()); for (int i = 0; i < inputs.size(); ++i) { if (absl::holds_alternative<ParallelTensor*>(inputs[i])) { std::string message(absl::StrCat(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 29 22:05:31 GMT 2023 - 18.3K bytes - Viewed (0) -
arm_compiler.BUILD
srcs = glob([ "aarch64-none-linux-gnu/**", "libexec/**", "lib/gcc/aarch64-none-linux-gnu/**", "include/**", ]), ) filegroup( name = "compiler_components", srcs = [ ":ar", ":as", ":gcc", ":ld", ":nm", ":objcopy", ":objdump", ":strip", ],
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Apr 12 11:17:46 GMT 2021 - 1.2K bytes - Viewed (0)