Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 109 for functionName (0.31 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/cc/config.cc

        default:
          break;
      }
    }
    
    // Returns a default `QuantizationSpec` for performing static-range PTQ on all
    // ops.
    //
    // In textproto, the spec corresponds to:
    //
    // {
    //   {matcher {function_name {regex: ".*"}}
    //   {method {static_range_ptq {}}}
    // }
    QuantizationSpec GetDefaultStaticRangePtqSpec(StaticRangePtqPreset preset) {
      QuantizationSpec spec{};
      // Default for all ops.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/device_compilation_profiler.cc

    Status DeviceCompilationProfiler::RegisterCompilation(
        const NameAttrList& function, int64_t compile_time_us,
        bool used_persistent_cache) {
      metrics::UpdateXlaCompilationTime(compile_time_us);
    
      const std::string& function_name = function.name();
    
      mutex_lock lock(mu_);
      // Create a stats entry if it doesn't already exist.
      auto it =
          cluster_compile_stats_.emplace(function.name(), ClusterCompileStats{})
              .first;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/unwrap_xla_call_module_op.cc

      if (call_op->hasAttr(kQuantTraitAttrName)) {
        return;
      }
    
      auto function_name = call_op
                               ->getAttrOfType<FlatSymbolRefAttr>(
                                   TF::kStablehloEntryFunctionAttrName)
                               .getValue();
      func::FuncOp func_op = symbol_table.lookup<func::FuncOp>(function_name);
    
      // We should not unwrap if the function is not from
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/graph_optimization_pass.h

                   ? tensorflow::MlirOptimizationPassState::Enabled
                   : tensorflow::MlirOptimizationPassState::Disabled;
      }
    
      ::tensorflow::Status Run(
          const std::string& function_name,
          const ::tensorflow::ConfigProto& config_proto, ModuleOp module,
          const ::tensorflow::Graph& graph,
          const tensorflow::FunctionLibraryDefinition& function_library) override;
    };
    
    }  // namespace TF
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 21 23:21:47 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/compile.go

    			}
    		}
    		return `PhaseOptions usage:
    
        go tool compile -d=ssa/<phase>/<flag>[=<value>|<function_name>]
    
    where:
    
    - <phase> is one of:
    ` + phasenames + `
    
    - <flag> is one of:
        on, off, debug, mem, time, test, stats, dump, seed
    
    - <value> defaults to 1
    
    - <function_name> is required for the "dump" flag, and specifies the
      name of function to dump after <phase>
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc

      // rhs.
      static int64_t GetDefaultQuantizationDimension(TF::XlaCallModuleOp op) {
        const StringRef function_name = GetEntryFunctionName(op);
        const auto module_op = op->getParentOfType<ModuleOp>();
        const SymbolTable symbol_table(module_op);
        func::FuncOp func = symbol_table.lookup<func::FuncOp>(function_name);
    
        if (function_name.contains("conv")) {
          return (*(func.getOps<mlir::stablehlo::ConvolutionOp>().begin()))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/klibSourceFileProvider/AbstractGetKlibSourceFileNameTest.kt

                        .map { propertyProto -> nameResolver.getName(propertyProto.name) }
    
                    val functionNames = packageFragmentProto.`package`.functionList
                        .map { functionProto -> nameResolver.getName(functionProto.name) }
    
                    val callableNames = (propertyNames + functionNames).distinct()
                    callableNames.forEach { callableName ->
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/integration/graph_decompose_pass.h

      // This should be used as a thin mapper around mlir::ModulePass::runOnModule
      // API integrated with the Tensorflow runtime.
      Status Run(const std::string& function_name, const ConfigProto& config_proto,
                 mlir::ModuleOp module, const Graph& graph,
                 const FunctionLibraryDefinition& function_library) override;
    };
    
    }  // namespace tfr
    }  // namespace tensorflow
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.h

      // tensorflow.
      void Prepare(llvm::StringRef mlir_input);
    
      // Execute() can be called several times after the call to Prepare() (e.g. for
      // benchmarking).
      llvm::SmallVector<Tensor> Execute(llvm::StringRef function_name,
                                        llvm::ArrayRef<Tensor> arguments);
    
     private:
      void RunTfrtInitializer();
    
      std::unique_ptr<thread::ThreadPoolInterface> intra_op_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 14 22:40:40 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/propagate_quantize_type.cc

                                    PatternRewriter& rewriter) const override {
        const auto f_attr = mlir::dyn_cast<FlatSymbolRefAttr>(op.getFAttr());
        StringRef function_name = f_attr.getValue();
        if (!function_name.starts_with(kDequantizeFunctionName)) return failure();
    
        llvm::SmallVector<Operation*> users(op->getUsers().begin(),
                                            op->getUsers().end());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top