Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 102 for getOpt (2.01 sec)

  1. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

        "$_builder.getI32IntegerAttr($0.cast<IntegerAttr>().getInt())">;
    
    // Builds a constant bool attribute.
    class GetBoolAttr<int value> :
        NativeCodeCall<"$_builder.getBoolAttr(" # value #")">;
    
    // Converts an integer attribute $0 to 64-bit with builder.
    def convertIntAttrTo64Bit : NativeCodeCall<
        "$_builder.getI64IntegerAttr($0.cast<IntegerAttr>().getInt())">;
    
    // Extracts the single integer element from $_self.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

                final Response response = checkMethodBase(requestBody).post("/api/admin/scheduler/" + schedulerId + "/start");
                if (response.getBody().jsonPath().getInt("response.status") == 0) {
                    logger.info("Start scheduler \"{}\"", schedulerId);
                    return;
                }
                ThreadUtil.sleep(1000L);
            }
            fail("could not start job.");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/utils/tftext_utils.cc

        fbb.Add(static_cast<int32_t>(
            mlir::dyn_cast<IntegerAttr>(*(hash_seed.getValue().data() + i))
                .getInt()));
      }
      fbb.EndVector(vector_start, /*typed=*/true, /*fixed=*/false);
    
      auto buckets = mlir::dyn_cast_or_null<IntegerAttr>(attrs.get("buckets"));
      fbb.Int("buckets", buckets.getInt());
    
      fbb.EndMap(start_map);
      fbb.Finish();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc

        return success();
      }
      return op->emitOpError() << "module already contains an attribute "
                               << attr_name << "=" << ex_attr_value.getInt()
                               << ", overwritting to a new value "
                               << attr_value.getInt() << " is not allowed.";
    }
    
    LogicalResult SetCollectiveInfo(IntegerAttr group_size, IntegerAttr group_key,
                                    Operation* op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc

      ArrayAttr stride = mlir::dyn_cast<ArrayAttr>(identifier_to_attr["strides"]);
      const int stride_h = mlir::cast<IntegerAttr>(stride[1]).getInt();
      const int stride_w = mlir::cast<IntegerAttr>(stride[2]).getInt();
      return rewriter.getI64ArrayAttr({stride_h, stride_w});
    }
    
    Attribute GetLhsDilationValue(PatternRewriter& rewriter,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDSLCustomDependenciesExtensionsSpec.groovy

                        // create and wire the custom dependencies extension's dependencies to these global configurations
                        api.fromDependencyCollector(getRestricted().getDependencies().getApi());
                        implementation.fromDependencyCollector(getRestricted().getDependencies().getImplementation());
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 10:11:12 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  7. 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)
  8. internal/ringbuffer/ring_buffer.go

    	r.mu.Lock()
    	defer r.mu.Unlock()
    	getDst := func(n int) []byte {
    		if cap(dst) < n {
    			return make([]byte, n)
    		}
    		return dst[:n]
    	}
    
    	if r.w == r.r {
    		if r.isFull {
    			buf := getDst(r.size)
    			copy(buf, r.buf[r.r:])
    			copy(buf[r.size-r.r:], r.buf[:r.w])
    			return buf
    		}
    		return nil
    	}
    
    	if r.w > r.r {
    		buf := getDst(r.w - r.r)
    		copy(buf, r.buf[r.r:r.w])
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. cni/pkg/cmd/root.go

    		PluginLogLevel:        istiolog.LevelToString(istiolog.FindScope(constants.CNIPluginLogScope).GetOutputLevel()),
    		KubeconfigFilename:    viper.GetString(constants.KubeconfigFilename),
    		KubeconfigMode:        viper.GetInt(constants.KubeconfigMode),
    		KubeCAFile:            viper.GetString(constants.KubeCAFile),
    		SkipTLSVerify:         viper.GetBool(constants.SkipTLSVerify),
    		K8sServiceProtocol:    os.Getenv("KUBERNETES_SERVICE_PROTOCOL"),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc

          padding_nums.push_back(padding_elem.getInt());
        }
      } else if (conv_padding.strref() == "VALID") {
        padding_nums.resize(padding_nums_size, 0);
      } else {
        padding_nums.resize(padding_nums_size);
        for (int i = 0; i < dnums.input_spatial_dimensions_size(); ++i) {
          const int64_t stride =
              mlir::cast<IntegerAttr>(op.getWindowStridesAttr()[i]).getInt();
          const int64_t lhs_size_dilated =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 30.9K bytes
    - Viewed (0)
Back to top