Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for attr_ (0.05 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op.cc

    using ::tensorflow::calibrator::CalibrationStatisticsMap;
    
    }  // namespace
    
    REGISTER_OP("CalibrationStatisticsSaver")
        .Input("args: Tin")
        .Attr("Tin: list(type) >= 0")
        .Attr("ids: list(string) >= 1")
        .Attr("calibration_methods: list(int) >= 1")
        .Attr("output_file_path: string")
        .SetIsStateful()
        .Doc(R"doc(
    Aggregates and saves the calibration statistics data.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 01:31:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. src/mime/mediatype.go

    			return ""
    		}
    		b.WriteString(strings.ToLower(major))
    		b.WriteByte('/')
    		b.WriteString(strings.ToLower(sub))
    	}
    
    	attrs := make([]string, 0, len(param))
    	for a := range param {
    		attrs = append(attrs, a)
    	}
    	slices.Sort(attrs)
    
    	for _, attribute := range attrs {
    		value := param[attribute]
    		b.WriteByte(';')
    		b.WriteByte(' ')
    		if !isToken(attribute) {
    			return ""
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/ops/gen/cpp/views/op_view.cc

        all_arguments_.push_back(OpArgumentView(arg));
      }
      for (const auto& arg : op_.Outputs()) {
        all_arguments_.push_back(OpArgumentView(arg));
      }
      for (const auto& attr : op.Attributes()) {
        all_arguments_.push_back(OpArgumentView(attr));
      }
      all_arguments_.push_back(OpArgumentView("const char*", "name", "nullptr"));
      all_arguments_.push_back(
          OpArgumentView("const char*", "raw_device_name", "nullptr"));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_ops.td

        I32Attr:$num_tensor_list_or_flow_in
      );
    
      let results = (outs
         Variadic<TF_Tensor>:$result
      );
    
      let assemblyFormat = "`(`$max_iterations`,` $tensor_list_or_flow_in`,` $invariant_args `)` attr-dict `:` functional-type(operands, results)";
    }
    
    def TFAsyncWhileOp : TensorflowMlrt_Op<"tf_async_while", [Pure]> {
      let summary = "Asynchronously execution of while op for tf_mlrt";
      let description = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:35:32 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/impl/KtModuleUtils.kt

                override fun preVisitDirectory(dir: Path, attrs: BasicFileAttributes): FileVisitResult {
                    return if (Files.isReadable(dir))
                        FileVisitResult.CONTINUE
                    else
                        FileVisitResult.SKIP_SUBTREE
                }
    
                override fun visitFile(file: Path, attrs: BasicFileAttributes): FileVisitResult {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow_to_stablehlo/tf_to_stablehlo_translate.cc

                       "Ignored for MLIR input"),
        llvm::cl::Optional, llvm::cl::init("serve"));
    
    // NOLINTNEXTLINE
    opt<bool> elide_large_elements_attrs(
        "e",
        llvm::cl::desc(
            "Elide large elements attrs while dumping the output StableHLO."),
        llvm::cl::Optional, llvm::cl::init(false));
    
    }  // namespace
    
    namespace mlir {
    
    namespace {
    // Dump the ModuleOp 'module' to the file specified using 'outputFileName'
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_calibration_statistics_saver.cc

      }
    
      SymbolTable symbol_table(op->getParentOfType<ModuleOp>());
      // Check the functions associated to CaseOp, IfOp and WhileOp.
      for (const NamedAttribute& attr : op->getAttrs()) {
        FlatSymbolRefAttr symbol_attr =
            dyn_cast_or_null<FlatSymbolRefAttr>(attr.getValue());
        if (!symbol_attr) continue;
    
        func::FuncOp target_func = dyn_cast_or_null<func::FuncOp>(
            symbol_table.lookup(symbol_attr.getValue()));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/plugin.go

    			},
    		),
    	}
    }
    
    // Validate makes an admission decision based on the request attributes.
    func (a *Plugin) Validate(ctx context.Context, attr admission.Attributes, o admission.ObjectInterfaces) error {
    	return a.Plugin.Dispatch(ctx, attr, o)
    }
    
    func (a *Plugin) InspectFeatureGates(featureGates featuregate.FeatureGate) {
    	a.Plugin.SetEnabled(featureGates.Enabled(features.ValidatingAdmissionPolicy))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool.h

    // this composite (here, padding is done directly by the tfl.average_pool_2d as
    // opposed to being extracted into a separate tfl.pad).
    StringAttr GetAvgPoolOpPadAttr(Builder& builder, mhlo::CompositeOp op);
    
    // Get dense attr for a matrix that corrects the over counting of divisors when
    // casting an average pool with ceil mode on in terms of average pool with it
    // off.
    DenseFPElementsAttr GetCorrectionMatrix(Builder& builder, mhlo::CompositeOp op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow_to_stablehlo/README.md

      'main' entry-point, separating tensors with ':', dimension with ',', and
      using '?' for unknown sizes. For example, `input-arg-shapes=1,2::1,?`
      expresses argument shapes `[1,2]`, `[]` and `[1,?]`.
    * `--e`: Elide large elements attrs while dumping the output StableHLO.
    * `--output_filename`: Path to the output file where the textual StableHLO MLIR
      module will be written (default: stdout).
    
    
    ### Examples
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top