- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CHECK_NOTNULL (0.1 sec)
-
tensorflow/cc/framework/ops.cc
#include "tensorflow/core/lib/hash/hash.h" namespace tensorflow { Operation::Operation(Node* n) : inputs_(GetInputs(n)), node_(n) {} Output Operation::input(int32_t i) const { CHECK_NOTNULL(node_); CHECK_GE(i, 0); CHECK_LT(i, node_->num_inputs()); // Handle the case where the input was unknown at the time this // Operation was constructed.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 11 01:20:50 UTC 2021 - 3.5K bytes - Viewed (0) -
tensorflow/cc/client/client_session.cc
Session* new_session; Status status = NewSession(session_options, &new_session); TF_CHECK_OK(status) << status; impl_.reset(new Impl(new_session, scope.graph_as_shared_ptr())); CHECK_NOTNULL(impl()->session_.get()); } // Define destructor here so we can forward declare `Impl` in client_session.h. // If we define a dtor in the header file or use the default dtor, // unique_ptr<Impl> needs the complete type.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 28 09:04:10 UTC 2024 - 7.1K bytes - Viewed (0)