Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mutable_function (0.22 sec)

  1. tensorflow/compiler/mlir/tensorflow/translate/upgrade_graph.cc

                                    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)
  2. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

      *library = lib_def->ToProto();
      // 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;
    }
    
    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