Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for mutable_node_def (0.11 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/cc/graph_def.h

        func(node_def);
      }
    
      for (tensorflow::FunctionDef& function_def :
           *graph_def.mutable_library()->mutable_function()) {
        for (tensorflow::NodeDef& node_def : *function_def.mutable_node_def()) {
          func(node_def);
        }
      }
    }
    
    }  // namespace stablehlo::quantization
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 28 18:38:06 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/upgrade_graph.cc

      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;
            // With lazy loading, some functions might not be executed, thus we skip
            // the node if the op is not registered.
    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/compiler/jit/encapsulate_subgraphs_pass_test.cc

      // Remove "_xla_inferred_shapes" attr. They are added by
      // `PerformStaticShapeInferenceBeforeEncapsulation`.
      for (FunctionDef& fdef : *library->mutable_function()) {
        for (NodeDef& node_def : *fdef.mutable_node_def()) {
          node_def.mutable_attr()->erase("_xla_inferred_shapes");
        }
      }
    
      return s;
    }
    
    Status Encapsulate(GraphDef* graphdef, FunctionDefLibrary* library) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
Back to top