Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for mutable_node (0.2 sec)

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

    // - Replacing LegacyFedInput nodes with Placeholder nodes if
    //   convert_legacy_fed_inputs option is enabled.
    Status PreprocessGraphDef(const GraphImportConfig* specs, GraphDef* graph_def) {
      for (auto& node_def : *graph_def->mutable_node()) {
        // TODO(hinsu): Completely deprecate support for LegacyFedInput ops. One
        // solution could be have a tool to let users upgrade old serialized graphs.
        if (specs && specs->convert_legacy_fed_inputs &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

        auto& attr = iter.second;
        if (attr.has_func()) {
          try_use_original_func_name(attr.mutable_func()->mutable_name());
        } else if (attr.has_list()) {
          for (auto& func_attr : *attr.mutable_list()->mutable_func()) {
            try_use_original_func_name(func_attr.mutable_name());
          }
        }
      }
    }
    
    Status Exporter::AddInstructionNode(Operation* inst) {
      std::unique_ptr<NodeDef> node_def;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

        auto& attr = iter.second;
        if (attr.has_func()) {
          try_use_original_func_name(attr.mutable_func()->mutable_name());
        } else if (attr.has_list()) {
          for (auto& func_attr : *attr.mutable_list()->mutable_func()) {
            try_use_original_func_name(func_attr.mutable_name());
          }
        }
      }
    }
    
    Status Exporter::AddInstructionNode(Operation* inst) {
      std::unique_ptr<NodeDef> node_def;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

          result.Append(std::move(pad));
        }
        AppendBufferData(result);
        std::string result_str = std::string(std::move(result));
        auto mutable_model = tflite::GetMutableModel(result_str.data());
        bool ret = UpdateBufferOffsets(mutable_model);
        if (!ret) {
          return std::nullopt;
        }
        return result_str;
      }
      return std::string(result);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
Back to top