Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 176 for GetIps (0.56 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc

      if (shared_name.empty()) return false;
    
      for (func::FuncOp init_func_op :
           tf_saved_model::GetInitializerFunctions(module_op)) {
        for (Operation& op : init_func_op.getBody().getOps()) {
          StringRef other_shared_name = GetSharedName(&op);
          if (IsHashTableOp(&op) && other_shared_name == shared_name) {
            return true;
          }
        }
      }
      return false;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions.cc

      const FunctionNameMatcher matcher(spec.matcher().function_name());
      // Iterate over all XlaCallModuleOp in all FuncOps.
      for (auto func : module_op.getOps<func::FuncOp>()) {
        for (auto xla_call_module_op : func.getOps<TF::XlaCallModuleOp>()) {
          if (!matcher.Match(xla_call_module_op)) continue;
    
          // Set the text representation of `Method` to matched
          // `TF::XlaCallModuleOp`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/insert_call_once_op.cc

    void InsertCallOnceOpFromSessionInitializerPass::runOnOperation() {
      ModuleOp module = getOperation();
    
      for (func::FuncOp init_func_op :
           tf_saved_model::GetInitializerFunctions(module)) {
        for (auto func : module.getOps<func::FuncOp>()) {
          auto dict_attr =
              func->getAttrOfType<mlir::DictionaryAttr>("tf.entry_function");
          if (!dict_attr) continue;
    
          OpBuilder builder(func.getContext());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 01 05:03:09 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/lift_variables.cc

      mlir::Builder builder(context);
      StringAttr resource_name_id = builder.getStringAttr(kResourceNameArgAttr);
    
      SmallSet<StringRef, 4> resource_names;
    
      for (func::FuncOp func : module.getOps<func::FuncOp>()) {
        for (int i = 0, e = func.getNumArguments(); i < e; ++i) {
          auto resource_arg =
              func.getArgAttrOfType<StringAttr>(i, kResourceNameArgAttr);
          if (!resource_arg) continue;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc

        if (!main_func) continue;
    
        SymbolTable symbol_table(module_op);
        for (auto call_op : main_func.getOps<TF::PartitionedCallOp>()) {
          func_ops.push_back(dyn_cast_or_null<func::FuncOp>(symbol_table.lookup(
              mlir::cast<FlatSymbolRefAttr>(call_op.getFAttr()).getValue())));
        }
        for (auto call_op : main_func.getOps<TF::StatefulPartitionedCallOp>()) {
          func_ops.push_back(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc

      bool need_prefix_for_output_name = false;
      std::vector<StringRef> fn_input_name_vec, fn_output_name_vec;
      StringSet<> input_name_set, output_name_set;
      for (auto func_op : module_op.getOps<func::FuncOp>()) {
        if (!ShouldIncludeInMainFunction(func_op)) continue;
        if (auto tf_attrs =
                func_op->getAttrOfType<DictionaryAttr>(kEntryFunctionAttr)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

    template <typename GemmStyleOp>
    // Match for all gemm_style op and check for possible fusions.
    LogicalResult MatchGemmStyleOp(func::FuncOp entry_func_op) {
      const auto op_iterator_range = entry_func_op.getOps<GemmStyleOp>();
      if (op_iterator_range.empty()) {
        LLVM_DEBUG(llvm::dbgs() << "Function does not have "
                                << GemmStyleOp::getOperationName() << " op.\n");
        return failure();
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  8. internal/http/dial_dnscache.go

    		host, port, err := net.SplitHostPort(addr)
    		if err != nil {
    			return nil, err
    		}
    
    		if net.ParseIP(host) != nil {
    			// For IP only setups there is no need for DNS lookups.
    			return baseDialCtx(ctx, "tcp", addr)
    		}
    
    		ips, err := lookupHost(ctx, host)
    		if err != nil {
    			return nil, err
    		}
    
    		for _, ip := range ips {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jul 03 19:30:51 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/analysis/per_function_aggregate_analysis.h

      void runOnOperation() override {
        ModuleOp op = this->getOperation();
        DerivedT& derived = *static_cast<DerivedT*>(this);
        auto& analysis = this->template getAnalysis<AnalysisT>();
    
        for (auto func : op.getOps<func::FuncOp>())
          if (!func.isExternal())
            derived.runOnFunction(func, analysis.GetAnalysisForFunc(func));
      }
    };
    
    }  // namespace TF
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  10. samples/custom-bootstrap/README.md

    ## Outside of Kubernetes
    
    The annotation above configures a volume mount and configures Istio to use it.
    When running outside of Kubernetes or in custom setups, similar functionality can be achieved by setting the `ISTIO_BOOTSTRAP_OVERRIDE` variable pointing to a file containing the custom bootstrap.
    
    ## Cleanup
    
    ```bash
    kubectl delete -f custom-bootstrap.yaml
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 22:34:00 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top