- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for nullptr (0.05 sec)
-
tensorflow/c/c_api_experimental_test.cc
input_tensors.empty() ? nullptr : const_cast<TF_Tensor**>(input_tensors.data()), /*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_);
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Tue Jan 17 22:27:52 UTC 2023 - 13.1K bytes - Viewed (0) -
tensorflow/c/c_api_function.cc
inputs, noutputs, outputs, output_names, 0, nullptr, nullptr, opts, description, status); } const char* TF_FunctionName(TF_Function* func) { return func->record->fdef().signature().name().c_str(); } void TF_GraphCopyFunction(TF_Graph* g, const TF_Function* func, const TF_Function* grad, TF_Status* status) { if (func == nullptr) { status->status = InvalidArgument(Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 13.7K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
TF_SessionRun(session, /*run_options*/ nullptr, // input related parameters /*inputs*/ &input, /*input_values*/ &tensor, /*ninputs*/ 1, // output related parameters /*outputs*/ nullptr, /*output_values*/ nullptr, /*noutputs*/ 0, /*targets*/ &enqueue_op, /*ntargets*/ 1, /*run_metadata*/ nullptr, status); VLOG(1) << "Enqueuing is done."; }
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Oct 04 05:55:32 UTC 2025 - 29.4K bytes - Viewed (0) -
tensorflow/c/checkpoint_reader.cc
namespace tensorflow { namespace checkpoint { class TensorSliceReader; CheckpointReader::CheckpointReader(const string& filename, TF_Status* status) : reader_(nullptr), v2_reader_(nullptr), var_to_shape_map_(nullptr), var_to_data_type_map_(nullptr) { // Depending on whether this is a V2 ckpt, initializes "reader_" or // "v2_reader_". std::vector<string> v2_path;Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Nov 08 06:24:11 UTC 2025 - 5.4K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
output_values_.resize(outputs_.size(), nullptr); const TF_Output* inputs_ptr = inputs_.empty() ? nullptr : &inputs_[0]; TF_Tensor* const* input_values_ptr = input_values_.empty() ? nullptr : &input_values_[0]; const TF_Output* outputs_ptr = outputs_.empty() ? nullptr : &outputs_[0]; TF_Tensor** output_values_ptr = output_values_.empty() ? nullptr : &output_values_[0];
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Oct 04 05:55:32 UTC 2025 - 17.8K bytes - Viewed (1) -
tensorflow/c/c_api.cc
delete[] params->body_inputs; delete[] params->body_outputs; } TF_WhileParams EmptyWhileParams() { return {0, nullptr, nullptr, {nullptr, 0}, nullptr, nullptr, nullptr, nullptr}; } } // namespace TF_WhileParams TF_NewWhile(TF_Graph* g, TF_Output* inputs, int ninputs, TF_Status* status) { #if defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD)
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Oct 04 05:55:32 UTC 2025 - 102.4K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
TF_Status* status = TF_NewStatus(); TF_DeleteStatus(nullptr); TF_DeleteBuffer(nullptr); TF_DeleteTensor(nullptr); TF_DeleteSessionOptions(nullptr); TF_DeleteGraph(nullptr); TF_DeleteImportGraphDefOptions(nullptr); TF_DeleteImportGraphDefResults(nullptr); TF_DeleteFunction(nullptr); TF_DeleteSession(nullptr, status); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Mon Nov 17 00:00:38 UTC 2025 - 97K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
func_ = TF_GraphToFunction( func_graph.get(), "func", /*append_hash_to_fn_name=*/false, -1, /*opers=*/nullptr, 0, nullptr, 3, outputs, /*output_names=*/nullptr, /*opts=*/nullptr, /*description=*/nullptr, s.get()); ASSERT_EQ(TF_OK, TF_GetCode(s.get())) << TF_Message(s.get()); ASSERT_NE(func_, nullptr); // Verify that FunctionDef has 2 attributes, "v1" and "v2".
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Mon Nov 17 00:00:38 UTC 2025 - 63.6K bytes - Viewed (1) -
tensorflow/c/eager/abstract_context.h
private: const AbstractContextKind kind_; }; namespace internal { struct AbstractContextDeleter { void operator()(AbstractContext* p) const { if (p != nullptr) { p->Release(); } } }; } // namespace internal using AbstractContextPtr = std::unique_ptr<AbstractContext, internal::AbstractContextDeleter>; } // namespace tensorflowRegistered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/c/c_api.h
// Returns the operation in the graph with `oper_name`. Returns nullptr if // no operation found. TF_CAPI_EXPORT extern TF_Operation* TF_GraphOperationByName( TF_Graph* graph, const char* oper_name); // Iterate through the operations of a graph. To use: // size_t pos = 0; // TF_Operation* oper; // while ((oper = TF_GraphNextOperation(graph, &pos)) != nullptr) { // DoSomethingWithOperation(oper); // }
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0)