Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 54 of 54 for function_ref (0.16 sec)

  1. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx_test.cc

      }
    
      void TearDown() override { test_ctx_->Destroy(); }
    
      mlir::MLIRContext ctx_;
      std::unique_ptr<tfr::TFRDecomposeContext> test_ctx_;
    };
    
    std::vector<NodeAndType> NodesSequenceOf(const FunctionDef& graph) {
      std::vector<NodeAndType> nodes;
      for (auto& node : graph.node_def()) {
        nodes.push_back({node.op(), node.attr().at("T").type()});
      }
      return nodes;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/upgrade_graph.cc

                              : std::make_unique<FunctionLibraryDefinition>(
                                    default_registry, FunctionDefLibrary());
    
      if (library) {
        // Upgrade nodes in the functions.
        for (FunctionDef& fdef : *library->mutable_function()) {
          auto func_name = fdef.signature().name();
          for (auto& node_def : *fdef.mutable_node_def()) {
            const OpDef* op_def = nullptr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 14:33:47 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. tensorflow/cc/experimental/libexport/load.h

      // in constant time.
      tensorflow::StatusOr<const tensorflow::NodeDef*> GetGraphDefNode(
          std::string name);
    
      // Returns a list of function defs in the SavedModel.
      const protobuf::RepeatedPtrField<FunctionDef>& GetFunctionDefs();
    
      // Returns a BundleReader for reading variable values.
      //
      // This TFPackage retains ownership of the underlying reader.
      tensorflow::BundleReader* GetVariableReader() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 13 06:33:42 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. tensorflow/c/c_test_util.h

    bool GetGraphDef(TF_Graph* graph, tensorflow::GraphDef* graph_def);
    
    bool GetNodeDef(TF_Operation* oper, tensorflow::NodeDef* node_def);
    
    bool GetFunctionDef(TF_Function* func, tensorflow::FunctionDef* func_def);
    
    bool GetAttrValue(TF_Operation* oper, const char* attr_name,
                      tensorflow::AttrValue* attr_value, TF_Status* s);
    
    // Returns a sorted vector of std::pair<function_name, gradient_func> from
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 09 01:06:53 UTC 2018
    - 6K bytes
    - Viewed (0)
Back to top