- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 347 for ucast (0.04 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc
const auto gemm_style_op_result_type = mlir::cast<RankedTensorType>(gemm_style_op_result.getType()); const ArrayRef<int64_t> gemm_style_shape = gemm_style_op_result_type.getShape(); Type accumulation_quantized_element_type; TensorType new_gemm_style_op_result_type; const double input_scale = mlir::cast<UniformQuantizedType>(getElementTypeOrSelf(input_type)) .getScale();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 06:04:36 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/collection_ops_util.cc
} // namespace Value GatherElements(Value indices, Value buffer, OpBuilder builder, Location loc) { auto buffer_type = mlir::cast<RankedTensorType>(buffer.getType()); auto result_shape = llvm::to_vector<8>(buffer_type.getShape()); result_shape[0] = mlir::cast<RankedTensorType>(indices.getType()).getDimSize(0); int64_t maybe_contiguous_start = GetFirstIfIndicesAreContiguous(indices);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc
ShapedType type; InspectResult result = {}; if (auto cst = dyn_cast<ConstOp>(inst)) { attr = cst.getValue(); type = mlir::cast<ShapedType>(cst.getType()); } else if (auto cst = dyn_cast<QConstOp>(inst)) { attr = cst.getValue(); type = mlir::cast<ShapedType>(cst.getType()); } else { result.can_compress = false; return result; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.cc
return absl::OkStatus(); } // A `Cast` with DstT == SrcT can be introduced in MLIR as a shape cast. But // `Cast` only has shapes in the TF dialect's types, not TF graph, so it is // valid to convert a `Cast` to an `Identity`. The `_output_shapes` attribute of // the `Cast` will be preserved. This transform is needed for the graph to be // executed on TPU or GPU devices, which do not have `Cast` registered as a // runtime OpKernel.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 11.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc
// indices in `val2`. bool HasEqualElementSize(Value val1, Value val2, ArrayRef<int> val1_indices, ArrayRef<int> val2_indices) { ShapedType val1_shape = mlir::cast<ShapedType>(val1.getType()); ShapedType val2_shape = mlir::cast<ShapedType>(val2.getType()); if (!val1_shape.hasRank() || !val2_shape.hasRank()) return false; int val1_result = 1; int val2_result = 1; for (auto idx : val1_indices) {
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/attributes/DefaultAttributesSchema.java
AttributeMatchingStrategy<T> strategy = Cast.uncheckedCast(strategies.get(attribute)); if (strategy == null) { strategy = Cast.uncheckedCast(instantiatorFactory.decorateLenient().newInstance(DefaultAttributeMatchingStrategy.class, instantiatorFactory, isolatableFactory)); strategies.put(attribute, strategy);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 16:59:54 UTC 2024 - 16.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader_controller.go
FilterFunc: func(obj interface{}) bool { if cast, ok := obj.(*corev1.ConfigMap); ok { return cast.Name == c.configmapName && cast.Namespace == c.configmapNamespace } if tombstone, ok := obj.(cache.DeletedFinalStateUnknown); ok { if cast, ok := tombstone.Obj.(*corev1.ConfigMap); ok { return cast.Name == c.configmapName && cast.Namespace == c.configmapNamespace } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 10.9K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/SocketConnection.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/post_quantize.cc
(getElementTypeOrSelf(op.getType())))) { return failure(); } // Remove identity reshape with both static result and input shape. auto result_type = mlir::cast<ShapedType>(op.getType()); auto input_type = mlir::cast<ShapedType>(op.getInput().getType()); // Constant folding // If the result type isn't static, tries to derive the result type from // the #2 operand.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.1K bytes - Viewed (0)