- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 4,693 for Cast (0.07 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/tests/fake_quant_e2e_xla.mlir
// CHECK: %[[quant:.*]] = "tf.Cast"(%[[round]]) : (tensor<1x3x4x3xf32>) -> tensor<1x3x4x3xi8> // CHECK: %[[pad:.*]] = "tf.PadV2"(%[[quant]] // CHECK: %[[xlaconv:.*]] = "tf.XlaConvV2"(%[[pad]] // CHECK: %[[sub:.*]] = "tf.Sub"(%[[xlaconv]] // CHECK: %[[cast:.*]] = "tf.Cast"(%[[sub]]) <{Truncate = false}> : (tensor<1x3x2x2xi32>) -> tensor<1x3x2x2xf32> // CHECK: %[[dequant1:.*]] = "tf.Mul"(%[[cast]] // CHECK: %[[relu:.*]] = "tf.Relu"(%[[dequant1]]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 7.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/constant_fold_test.cc
%input_i32 = "tf.Cast"(%weight) : (tensor<1024x24x24x3xi8>) -> tensor<1024x24x24x3xi32> %output = "tf.Sub"(%input_i32, %zp) : (tensor<1024x24x24x3xi32>, tensor<i32>) -> tensor<1024x24x24x3xi32> %cast = "tf.Cast"(%output) : (tensor<1024x24x24x3xi32>) -> tensor<1024x24x24x3xf32> %mul = "tf.Mul"(%cast, %scale) : (tensor<1024x24x24x3xf32>, tensor<f32>) -> tensor<1024x24x24x3xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 04 07:19:09 UTC 2024 - 10.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/optimize.mlir
%1 = "tf.Round"(%0) : (tensor<1x100x100x1xf32>) -> tensor<1x100x100x1xf32> %2 = "tf.Cast"(%1) : (tensor<1x100x100x1xf32>) -> tensor<1x100x100x1xi32> %3 = "tf.AddV2"(%2, %cst) : (tensor<1x100x100x1xi32>, tensor<i32>) -> tensor<1x100x100x1xi32> %4 = "tf.ClipByValue"(%3, %cst, %cst_9) : (tensor<1x100x100x1xi32>, tensor<i32>, tensor<i32>) -> tensor<1x100x100x1xi32> %5 = "tf.Cast"(%4) {Truncate = false} : (tensor<1x100x100x1xi32>) -> tensor<1x100x100x1xi8>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 8.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
return false; } if (mlir::cast<ShapedType>(sq_op.getType()).getRank() - 1 == *axis.getValues<int>().begin() || *axis.getValues<int>().begin() == -1) { return true; } if (mlir::cast<ShapedType>(sq_op.getType()).getRank() != axis.getNumElements()) { return false; } auto shape = mlir::cast<ShapedType>(sq_op.getType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/add_quantization_unit_loc.cc
new_unit.set_node_name(name_loc_id.str()); } }; ArrayRef<Location> locations = mlir::cast<FusedLoc>(loc).getLocations(); if (IsImportLocPattern(mlir::cast<FusedLoc>(loc))) { QuantizationUnit new_unit; // Op type is a NameLoc with the ":" suffix. StringRef op_type_with_suffix = mlir::cast<NameLoc>(locations.front()).getName().strref(); StringRef op_type =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.4K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileProblemsIntegrationTest.groovy
details == 'redundant cast to java.lang.String' solutions.empty verifyAll(getSingleLocation(ReceivedProblem.ReceivedFileLocation)) { it.path == fooFileLocation.absolutePath } additionalData.asMap ["formatted"] == """\ $fooFileLocation:5: warning: [cast] redundant cast to $expectedType String s = (String)"Hello World";
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 16:15:29 UTC 2024 - 24K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/IsolatedEnumValueSnapshot.java
} @Nullable @Override public <S> S coerce(Class<S> type) { if (type.isInstance(value)) { return type.cast(value); } if (type.isEnum() && type.getName().equals(value.getDeclaringClass().getName())) { return type.cast(Enum.valueOf(Cast.uncheckedNonnullCast(type.asSubclass(Enum.class)), value.name())); } return null; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 14:30:43 UTC 2024 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
Operation* filter_op = filter_value.getDefiningOp(); auto filter_uniform_quantized_type = GetElementType(filter_value).cast<UniformQuantizedPerAxisType>(); auto filter_constant_value_attr = cast<DenseIntElementsAttr>( cast<stablehlo::ConstantOp>(filter_value.getDefiningOp()).getValue()); const DenseIntElementsAttr new_filter_value_attr =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K 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/core-runtime/base-services/src/main/java/org/gradle/internal/ImmutableActionSet.java
return this; } if (action instanceof SingletonSet) { SingletonSet<T> singletonSet = Cast.uncheckedNonnullCast(action); return addOne(singletonSet.singleAction); } if (action instanceof SetWithFewActions) { SetWithFewActions<T> compositeSet = Cast.uncheckedNonnullCast(action); return addAll(compositeSet); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 11K bytes - Viewed (0)