Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for kImportModelDefaultGraphFuncName (0.38 sec)

  1. tensorflow/compiler/mlir/quantization/common/func.cc

    #include "tensorflow/compiler/mlir/tensorflow/translate/import_model.h"
    
    namespace mlir::quant {
    namespace {
    
    using ::tensorflow::kDefaultServingSignatureDefKey;
    using ::tensorflow::kImportModelDefaultGraphFuncName;
    
    // Returns true iff the function's symbol is public.
    bool IsPublicFuncOp(func::FuncOp func_op) {
      return SymbolTable::getSymbolVisibility(&*func_op) ==
             SymbolTable::Visibility::Public;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 19 06:55:11 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/import_model.h

    #include "tensorflow/core/framework/graph.pb.h"
    #include "tensorflow/core/framework/graph_debug_info.pb.h"
    #include "tensorflow/core/graph/graph.h"
    
    namespace tensorflow {
    
    inline constexpr absl::string_view kImportModelDefaultGraphFuncName = "main";
    
    // Given a GraphDef, returns a MLIR module containing the graph, expressed with
    // tf_executor dialect.
    absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>> ConvertGraphdefToMlir(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc

    }
    
    // Checks if the function is the main or initializer function.
    bool IsMainOrInitializerFunction(ModuleOp module, func::FuncOp func) {
      if (func.getSymName() ==
              llvm::StringRef(tensorflow::kImportModelDefaultGraphFuncName) ||
          func.getSymName() == kTfQuantSaveFuncName) {
        return true;
      }
    
      for (func::FuncOp init_func :
           tf_saved_model::GetInitializerFunctions(module)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top