- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 248 for getRand (0.14 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.cc
auto operand_shape = builder.create<TFL::ShapeOp>( RankedTensorType::get(static_cast<int32_t>(operand_type.getRank()), builder.getIntegerType(32)), operand); const int64_t operand_rank = operand_type.getRank(); // Compute flattened out dimension and contracting dimension using // TFL::UnsortedSegmentProdOp.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.2K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/SignatureTree.java
Optional<ParameterInfo> varargParameter = callable.getParameters().stream().filter(it -> it.getKind() == ParameterKindInfo.VARARG_METHOD_PARAMETER).findAny(); CallableKindInfo kind = callable.getKind(); return Stream.of( // Match the `Class<?>` in `receiver` for static methods and constructors kind == STATIC_METHOD || kind == AFTER_CONSTRUCTOR
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 02 15:44:14 UTC 2023 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc
if (!output_type) return failure(); // bias should be a vector sized of the last output dim. int64_t num_units = output_type.getDimSize(output_type.getRank() - 1); auto bias_type = mlir::RankedTensorType::get({num_units}, output_type.getElementType()); mlir::DenseElementsAttr bias_attr; if (output_type.getElementType().isF32()) { float val = 0.0;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 25.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/tftext_utils.cc
const std::vector<int> kValidNumOfOutput = {1, 2, 3}; if (input_type.getRank() >= kValidNumOfOutput.size()) { return func.emitError() << "Unrecognized input rank: " << input_type.getRank(); } if (func.getNumResults() != kValidNumOfOutput[input_type.getRank()]) { return func.emitError() << "Expect " << kValidNumOfOutput[input_type.getRank()] << "output(s) when input has rank " << input_type.getRank();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/util.cc
} PermutationAndShape GetPermutationAndTransposedShape( llvm::ArrayRef<int64_t> permutation_array, ShapedType input_type, ConversionPatternRewriter& rewriter) { assert(permutation_array.size() == input_type.getRank()); llvm::SmallVector<int64_t> transposed_shape(permutation_array.size()); for (int64_t i = 0; i < permutation_array.size(); ++i) { transposed_shape[i] = input_type.getDimSize(permutation_array[i]); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc
auto input_shape = mlir::cast<ShapedType>(input.getType()); auto filter_shape = mlir::cast<ShapedType>(filter.getType()); if (!input_shape.hasRank() || input_shape.getRank() != 4 || !filter_shape.hasRank() || filter_shape.getRank() != 4) { emitError(loc, "input and filter are expected to be 4D tensors"); return {}; } const int feature_group_cnt =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 47.1K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/util/NameUtil.java
} public static String interceptedJvmMethodName(CallableInfo callableInfo) { if (callableInfo.getKind() == CallableKindInfo.GROOVY_PROPERTY_GETTER) { return getterName(callableInfo.getCallableName(), callableInfo.getReturnType().getType()); } if (callableInfo.getKind() == CallableKindInfo.GROOVY_PROPERTY_SETTER) { return setterName(callableInfo.getCallableName()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 02 15:44:14 UTC 2023 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_arith_ops_folder.cc
if (!dims_type) return success(); if (dims_type.getRank() > 1) return emitError(loc, "dimensions can only be 0D or 1D tensor"); auto input_type = mlir::dyn_cast<RankedTensorType>(input.getType()); if (!input_type) return success(); int64_t rank = input_type.getRank(); DenseIntElementsAttr dims_attr; if (!matchPattern(dims, m_Constant(&dims_attr))) return success();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.h
permutation_and_shape.shape.getRank() - inserted_window_dims.size(); int64_t num_updates = indices_type.getDimSize(0); // For TF::TensorScatterUpdateOp, `indices` must have at least 2 axes: // `(num_updates, index_depth)`. Reshape indices and updates if necessary. if (std::is_same<TfOp, TF::TensorScatterUpdateOp>::value && indices_type.getRank() == 1 && updates_type.getRank() == 1 &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.1K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
_ = un.EachListItem(func(item runtime.Object) error { castItem := item.(*unstructured.Unstructured) if castItem.GetKind() == name.ServiceStr { err := v.validateServicePortPrefix(istioNamespace, castItem) if err != nil { errs = multierror.Append(errs, err) } } if castItem.GetKind() == name.DeploymentStr { err := v.validateDeploymentLabel(istioNamespace, castItem, writer) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jan 22 17:58:52 UTC 2024 - 15K bytes - Viewed (0)