Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CHECK_NOTNULL (0.13 sec)

  1. 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)
  2. tensorflow/cc/framework/gradients_test.cc

        auto v = MatMul(scope, t, u);
        TF_ASSERT_OK(scope.status());
        CHECK_NOTNULL(v.node());
    
        auto x = Const(scope, {{5.0, 6.0}, {7.0, 8.0}});
        auto y = Const(scope, {{1.0, 0.0}, {0.0, 1.0}});
        auto z = MatMul(scope, x, y);
        TF_ASSERT_OK(scope.status());
        CHECK_NOTNULL(z.node());
    
        if (expected) {
          // Construct backward graph.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 15 15:13:38 UTC 2023
    - 25K bytes
    - Viewed (0)
  3. 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)
Back to top