Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for graph_as_shared_ptr (0.13 sec)

  1. 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)
  2. 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