- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 120 for getUnit (0.14 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc
for (int i = 0; i < low_pads.size(); ++i) { new_low_pads[i] = low_pads[i].getInt() + parent_low_pads[i].getInt(); new_high_pads[i] = high_pads[i].getInt() + parent_high_pads[i].getInt(); new_interior_pads[i] = interior_pads[i].getInt() + parent_interior_pads[i].getInt(); } // Replace pad_op with a new pad having new attributes, taking the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 26.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/translate_utils.cc
if (!producer) return mlir::failure(); versions->set_producer(producer.getInt()); auto min_consumer = mlir::dyn_cast_or_null<mlir::IntegerAttr>( version_attr.get("min_consumer")); if (min_consumer) versions->set_min_consumer(min_consumer.getInt()); auto bad_consumers = mlir::dyn_cast_or_null<mlir::ArrayAttr>( version_attr.get("bad_consumers"));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.cc
<< op->getAttrOfType<mlir::IntegerAttr>("op_key").getInt() << ") device(" << op->getAttr("device") << ") " << op->getAttr("op_name") << "()"; fallback_common::PrintExecuteOpCommon(p, op); fallback_common::PrintExecuteOpFuncAttribute(p, op); p << " num_args(" << op->getAttrOfType<mlir::IntegerAttr>("num_args").getInt() << ')'; } void ExecuteOp::print(OpAsmPrinter &p) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 01:19:25 UTC 2023 - 15.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/replica_id_to_device_ordinal.cc
for (auto op : require_device_ordinal_ops) { if (op->getAttrOfType<IntegerAttr>(kDeviceOrdinalAttr).getInt() == -1) { OpBuilder builder(op); int device_ordinal = op->getAttrOfType<IntegerAttr>(kReplicaIdAttr).getInt() % device_num; op->setAttr(kDeviceOrdinalAttr, builder.getI64IntegerAttr(device_ordinal)); } } } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils.cc
for (int i : llvm::seq<int>(1, num_dims - 1)) { Value input_size_i = GetDimValue(builder, loc, input_shape_value, i); const int stride_i = mlir::cast<IntegerAttr>(strides[i]).getInt(); const int dilation_i = mlir::cast<IntegerAttr>(dilations[i]).getInt(); const int filter_i = filter_shape.getDimSize(i - 1); Value pad_i_low, pad_i_high; GetSamePaddingValues(builder, loc, input_size_i, filter_i, dilation_i,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 13.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/TransformChain.java
this.init = init; this.last = last; } /** * @return The initial steps of this chain, or null if this chain only contains one step. */ @Nullable public TransformChain getInit() { return init; } /** * @return The last step of this chain. */ public TransformStep getLast() { return last; } public boolean requiresDependencies() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/dict/DictTests.java
String response = checkGetMethod(searchBody, "").asString(); final int total = JsonPath.from(response).getInt("response.total"); final List<Map<String, String>> dicts = JsonPath.from(response).getList("response.settings"); final int status = JsonPath.from(response).getInt("response.status"); assertEquals(total, dicts.size()); assertEquals(0, status); } @Override
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.7K bytes - Viewed (0) -
tests/fuzz/aggregate_controller_fuzzer.go
err := f.GenerateStruct(&opts) if err != nil { return 0 } opts.MeshHolder = meshHolder c := aggregate.NewController(opts) iterations, err := f.GetInt() if err != nil { return 0 } for i := 0; i < iterations%30; i++ { opType, err := f.GetInt() if err != nil { return 0 } switch ops[opType%maxOps] { case "AddRegistry": err = runAddRegistry(f, c) case "DeleteRegistry":
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Aug 07 18:40:05 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/events/InternalStatusEvent.java
* * @since 7.3 */ public interface InternalStatusEvent extends InternalProgressEvent { long getProgress(); long getTotal(); String getUnits();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 912 bytes - Viewed (0) -
tests/fuzz/config_validation_fuzzer.go
"istio.io/istio/pkg/config/validation" "istio.io/istio/pkg/config/validation/envoyfilter" "istio.io/istio/pkg/kube" ) func FuzzConfigValidation(data []byte) int { f := fuzz.NewConsumer(data) configIndex, err := f.GetInt() if err != nil { return -1 } r := collections.Pilot.All()[configIndex%len(collections.Pilot.All())] gvk := r.GroupVersionKind() kgvk := schema.GroupVersionKind{ Group: gvk.Group,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 00:31:03 UTC 2024 - 5.3K bytes - Viewed (0)