- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 83 for getOpt (0.24 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc
for (const Attribute& attr : op.getDeviceVarReadsIndices()) { read_array.insert(mlir::cast<IntegerAttr>(attr).getInt()); } llvm::SmallSet<int, 8> update_array; for (const Attribute& attr : op.getDeviceVarUpdatesIndices()) { update_array.insert(mlir::cast<IntegerAttr>(attr).getInt()); } for (auto& arg : op->getOpOperands()) { Value v = arg.get();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc
if (function_name.contains("conv")) { return (*(func.getOps<mlir::stablehlo::ConvolutionOp>().begin())) .getDimensionNumbers() .getKernelOutputFeatureDimension(); } else if (function_name.contains("dot_general")) { auto dot = *(func.getOps<mlir::stablehlo::DotGeneralOp>().begin()); const ::mlir::stablehlo::DotDimensionNumbersAttr dimension_numbers =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 05:56:10 UTC 2024 - 10.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java
hasPackageStatement = source.getAST().getPackageName() != null; } } private static class EmptyScriptDetector extends CompilationUnit.SourceUnitOperation { private boolean emptyScript; private boolean hasMethods; @Override public void call(SourceUnit source) { if (!source.getAST().getMethods().isEmpty()) { hasMethods = true;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 20.6K bytes - Viewed (0)