Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 177 for getAbs (0.15 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. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/BlockPointer.java

        }
    
        private final long pos;
    
        private BlockPointer(long pos) {
            this.pos = pos;
        }
    
        public boolean isNull() {
            return pos < 0;
        }
    
        public long getPos() {
            return pos;
        }
    
        @Override
        public String toString() {
            return String.valueOf(pos);
        }
    
        @Override
        public boolean equals(Object obj) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.9K 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/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)
  5. 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)
  6. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/idea/GenerateIdeaWorkspace.java

        }
    
        @Override
        public XmlTransformer getXmlTransformer() {
            if (workspace == null) {
                return super.getXmlTransformer();
            }
            return workspace.getIws().getXmlTransformer();
        }
    
        /**
         * The Idea workspace model containing the details required to generate the workspace file.
         */
        @Internal
        public IdeaWorkspace getWorkspace() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. 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)
  8. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/idea/model/IdeaWorkspace.java

        private XmlFileContentMerger iws;
    
        /**
         * Enables advanced manipulation of the output XML.
         * <p>
         * For example see docs for {@link IdeaWorkspace}
         */
        public XmlFileContentMerger getIws() {
            return iws;
        }
    
        public void setIws(XmlFileContentMerger iws) {
            this.iws = iws;
        }
    
        /**
         * Enables advanced manipulation of the output XML.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. operator/pkg/apis/istio/v1alpha1/validation/validation.go

    func CheckAutoScaleAndReplicaCount(values *valuesv1alpha1.Values, spec *v1alpha1.IstioOperatorSpec) (errs util.Errors, warnings []string) {
    	if values.GetPilot().GetAutoscaleEnabled().GetValue() && spec.GetComponents().GetPilot().GetK8S().GetReplicaCount() > 1 {
    		warnings = append(warnings,
    			"components.pilot.k8s.replicaCount should not be set when values.pilot.autoscaleEnabled is true")
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 20:02:28 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  10. 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)
Back to top