Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for graph_as_shared_ptr (0.24 sec)

  1. 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,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 09:04:10 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/scope.h

      bool ok() const;
    
      // TODO(skyewm): Graph is not part of public API
      Graph* graph() const;
    
      // TODO(skyewm): Graph is not part of public API
      std::shared_ptr<Graph> graph_as_shared_ptr() const;
    
      Status status() const;
    
      /// If status() is ok, convert the Graph object stored in this scope
      /// to a GraphDef proto and return an ok Status. Otherwise, return the error
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 09:08:33 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/scope.cc

      }
      return current_constraints;
    }
    
    bool Scope::ok() const { return impl()->status_->ok(); }
    
    Graph* Scope::graph() const { return impl()->graph_.get(); }
    
    std::shared_ptr<Graph> Scope::graph_as_shared_ptr() const {
      return impl()->graph_;
    }
    
    Status Scope::status() const { return *impl()->status_; }
    
    const std::vector<Operation>& Scope::control_deps() const {
      return impl()->control_deps_;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top