- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for spaces (0.21 sec)
-
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
TF_Status* status) const { std::vector<PartialTensorShape> expected_output_shapes(expected_max_outputs); StartExecute(context, inputs, operation_name, attributes, expected_max_outputs, *default_cancellation_manager_); auto result = Join(expected_output_shapes, status); if (TF_GetCode(status) != TF_OK) { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> await_status(
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/c_api_experimental.cc
void TFE_InferShapes(TFE_Op* tfe_op, TF_ShapeAndTypeList* input_shapes, TF_Tensor** input_tensors, TF_ShapeAndTypeList* input_tensors_as_shapes, TF_ShapeAndTypeList** input_resource_shapes_and_types, TF_ShapeAndTypeList** output_shapes, TF_ShapeAndTypeList*** output_resource_shapes_and_types, TF_Status* status) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc
/*expected_max_outputs=*/1, cancellation_manager); auto outputs = parallel_device.Join( /*expected_output_shapes=*/{PartialTensorShape({})}, status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); const std::vector<std::unique_ptr<ParallelTensor>>& handles = *outputs;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 08 23:47:35 GMT 2021 - 15.3K bytes - Viewed (0) -
tensorflow/c/eager/gradient_checker.cc
int num_elems = TF_TensorElementCount(theta_tensor); vector<float> theta_data(num_elems); memcpy(theta_data.data(), TF_TensorData(theta_tensor), TF_TensorByteSize(theta_tensor)); // Initialize space for the numerical gradient. vector<float> dtheta_approx(num_elems); // Get theta shape and store in theta_dims. int num_dims = TF_NumDims(theta_tensor); vector<int64_t> theta_dims(num_dims);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 7.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_distributed_test.cc
// 'read0_maybe_with_graph_error' op having a requested device `dev2_name`. // During execution: // * task:0 processes main function `VariableAddFunctionWithGraphError` // and places the 'read0_maybe_with_graph_error' op on task:2 // * task:0 partitions the main function with a subgraph containing // 'read0_maybe_with_graph_error' sent to task:2
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 23.5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
}; const uint32 block_count = 256; tf_gcs_filesystem::RamFileBlockCache cache( block_size, block_count * block_size, 0, fetcher); std::vector<char> out; out.resize(block_count, 0); // The cache has space for `block_count` blocks. The loop with i = 0 should // fill the cache, and the loop with i = 1 should be all cache hits. The // fetcher checks that it is called once and only once for each offset (to
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
// be inferred. TF_Status* status = TF_NewStatus(); TF_Graph* graph = TF_NewGraph(); // Create this failure by trying to add two nodes with incompatible shapes // (A tensor with shape [2] and a tensor with shape [3] cannot be added). const char data[] = {1, 2, 3}; const int64_t vec2_dims[] = {2}; unique_tensor_ptr vec2_tensor(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/eager/custom_device_test.cc
ASSERT_TRUE(absl::StrContains(TF_Message(status.get()), custom0)); ASSERT_TRUE(absl::StrContains(TF_Message(status.get()), custom1)); // Custom device: mix of custom/physical places the op on the custom device. matmul.reset(MatMulOp(context.get(), hcustom0.get(), hcpu.get())); num_retvals = 1; executed = false; TFE_Execute(matmul.get(), &retval, &num_retvals, status.get());
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 27 23:39:24 GMT 2020 - 18.4K bytes - Viewed (0) -
tensorflow/c/c_api_experimental_test.cc
/*input_tensors_as_shapes*/ nullptr, /*input_resource_shapes_and_types*/ nullptr, &output_shapes, /*output_resource_shapes_and_types*/ nullptr, status_); CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_); CHECK_EQ(output_shapes->num_items, 1); int num_dims = output_shapes->items[0].num_dims; int64_t* dims = output_shapes->items[0].dims;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jan 17 22:27:52 GMT 2023 - 13.1K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc
"Filesystem allows creation of readonly memory regions but no " "operations on them have been supplied."); return OkStatus(); } // Copies a function table from plugin memory space to core memory space. // // This has three benefits: // * allows having newer plugins than the current core TensorFlow: the // additional entries in the plugin's table are just discarded;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 07 22:08:43 GMT 2023 - 12.8K bytes - Viewed (0)