- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for structure (0.17 sec)
-
tensorflow/c/c_api_function.cc
// does various checks while doing so. `input_nodes` will contain the same // information as input_tensors just in a different structure to make // following processing easier. TODO(iga): Simplify this nested structure. Status ProcessInputs( const TF_Graph* fn_body, const char* fn_name, int ninputs, const TF_Output* inputs, std::vector<OutputTensor>* input_tensors,
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 13.6K bytes - Viewed (2) -
tensorflow/c/c_api_test.cc
TF_Operation* neg = TF_GraphOperationByName(graph, "imported/neg"); ASSERT_TRUE(scalar != nullptr); ASSERT_TRUE(feed != nullptr); ASSERT_TRUE(neg != nullptr); // Test basic structure of the imported graph. EXPECT_EQ(0, TF_OperationNumInputs(scalar)); EXPECT_EQ(0, TF_OperationNumInputs(feed)); ASSERT_EQ(1, TF_OperationNumInputs(neg)); TF_Output neg_input = TF_OperationInput({neg, 0});
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc
CopyToCore<TF_ReadOnlyMemoryRegionOps>( info->ops[index].read_only_memory_region_ops, info->ops[index].read_only_memory_region_ops_size); // Step 2: Initialize the opaque filesystem structure auto filesystem = std::make_unique<TF_Filesystem>(); TF_Status* c_status = TF_NewStatus(); Status status = OkStatus(); core_filesystem_ops->init(filesystem.get(), c_status); status = Status(c_status->status);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Mar 07 22:08:43 GMT 2023 - 12.8K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_test.cc
ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); // Un-pack the parallel tensor to verify that the operation was // successful. The resulting structure should be: // second_device{first_device{1. * 3., 2. * 3.}, 3. * 3.}. std::array<TensorHandlePtr, 2> second_components; ExtractPerDeviceValues(context.get(), multiply_result.get(),
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 08 23:47:35 GMT 2021 - 29.3K bytes - Viewed (1) -
tensorflow/c/eager/gradient_checker.cc
// Get theta shape and store in theta_dims. int num_dims = TF_NumDims(theta_tensor); vector<int64_t> theta_dims(num_dims); GetDims(theta_tensor, theta_dims.data()); // Initialize auxilary data structures. vector<float> thetaPlus_data(num_elems); vector<float> thetaMinus_data(num_elems); AbstractTensorHandle* f_outputs[1]; // Numerical Grad Check for (int i = 0; i < num_elems; i++) {
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 7.3K bytes - Viewed (0)