- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for populate (0.21 sec)
-
tensorflow/c/c_api.cc
} // Populate return_nodes DCHECK(tf_results->return_nodes.empty()); tf_results->return_nodes.resize(results.return_nodes.size()); for (int i = 0; i < results.return_nodes.size(); ++i) { tf_results->return_nodes[i] = ToOperation(results.return_nodes[i]); } // Populate missing unused map keys DCHECK(tf_results->missing_unused_key_names.empty());
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/eager/gradient_checker.cc
float grad_data[1]; memcpy(&grad_data[0], TF_TensorData(grad_tensor), TF_TensorByteSize(grad_tensor)); TF_DeleteTensor(grad_tensor); dtheta_approx[i] = grad_data[0]; } // Populate *numerical_grad with the data from dtheta_approx. TF_RETURN_IF_ERROR(TestTensorHandleWithDims<float, TF_FLOAT>( ctx, dtheta_approx.data(), theta_dims.data(), num_dims, numerical_grad)); TF_DeleteTensor(theta_tensor);
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/experimental/gradients/tape/tape_operation.cc
// Consider getting rid of this and making the behavior between number types // and string consistent. forward_op_.attrs.BuildNodeDef(); // TODO(b/170307493): Populate skip_input_indices here. std::unique_ptr<GradientFunction> backward_fn; TF_RETURN_IF_ERROR(registry_.Lookup(forward_op_, &backward_fn)); tape_->RecordOperation(forward_op_.inputs, forward_op_.outputs,
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Tue Jun 07 01:53:35 GMT 2022 - 9K bytes - Viewed (1) -
tensorflow/c/c_api_function.cc
"Encountered while creating function '", fn_name, "'"); output_tensors->emplace_back(node, idx); } return absl::OkStatus(); } // Populates `body_nodes` with the nodes that will become function's body. // Performs various checks. Status ComputeBodyNodes( const TF_Graph* fn_body, const char* fn_name, int num_opers, const TF_Operation* const* opers,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 13.6K bytes - Viewed (2) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
// Finalize the function by providing the returned values. TF_AbstractFunction* func; { // We want to return the output of both add operations, create a new list // and populate it. TF_OutputList* func_outputs = TF_NewOutputList(); TF_OutputListPushBack(func_outputs, add_output1, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 19 21:44:52 GMT 2023 - 39.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
static bool classof(const AbstractTensorHandle* ptr) { return ptr->getKind() == kGraph; } private: TF_Graph* graph_; // For shape inference. }; // GraphOperation wraps and populates a TF_OperationDescription. class GraphOperation : public TracingOperation { public: explicit GraphOperation(TF_Graph* g) : TracingOperation(kGraph), g_(g) {} void Release() override { delete this; }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 15.4K bytes - Viewed (1)