- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 58 for nullptr (0.09 sec)
-
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 Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K 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 Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 13.7K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
if (TF_GetCode(status) != TF_OK) return nullptr; TFE_OpSetDevice(const_op.get(), underlying_devices_[device_index].c_str(), status); if (TF_GetCode(status) != TF_OK) return nullptr; TFE_OpSetAttrTensor(const_op.get(), "value", tensor.get(), status); if (TF_GetCode(status) != TF_OK) return nullptr; TFE_OpSetAttrType(const_op.get(), "dtype", datatype_enum);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 13.1K 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 Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_eager.cc
TF_ExecutionContext* TF_NewEagerExecutionContext(TFE_ContextOptions* options, TF_Status* s) { TFE_Context* c_ctx = TFE_NewContext(options, s); if (TF_GetCode(s) != TF_OK) { return nullptr; } return wrap(static_cast<AbstractContext*>(unwrap(c_ctx))); } TF_AbstractTensor* TF_CreateAbstractTensorFromEagerTensor(TFE_TensorHandle* t, TF_Status* s) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Jun 25 04:40:46 UTC 2020 - 3.2K 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 Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
} auto s = TF_NewStatus(); auto func = TF_GraphToFunction(graph_.get(), name_.data(), 0, -1, nullptr, inputs_.size(), inputs_.data(), graph_outputs.size(), graph_outputs.data(), nullptr, nullptr, name_.data(), s); *f = new GraphFunction(std::move(func->record->fdef())); TF_DeleteFunction(func);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 15.7K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_test.cc
TFE_OpSetAttrString(op.get(), "shared_name", "", 0); TFE_OpSetDevice(op.get(), name, status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); TFE_TensorHandle* var_handle = nullptr; int num_retvals = 1; executed = false; TFE_Execute(op.get(), &var_handle, &num_retvals, status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); ASSERT_TRUE(executed);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 27 23:39:24 UTC 2020 - 18.4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_remote_test_util.cc
} auto* h1_task2 = TFE_TensorHandleCopyToDevice(h1_task0, ctx, task2_name, status); ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); TFE_TensorHandle* packed_handle = nullptr; if (has_packed_input) { int num_replicas = 1; std::vector<TFE_TensorHandle*> packed_handles = {h1_task2}; packed_handle = TFE_CreatePackedTensorHandle(ctx, packed_handles.data(),
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Dec 11 22:56:03 UTC 2020 - 9.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.cc
if (default_factory) { return default_factory(fn_name, s); } tsl::Set_TF_Status_from_Status( s, errors::FailedPrecondition("default_factory is nullptr")); return nullptr; } } // end namespace tracing } // end namespace tensorflow // ============================================================================= // Public C API entry points //
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 9K bytes - Viewed (0)