- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for getRank (0.11 sec)
-
tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td
CPred<"$0.getType().cast<ShapedType>().hasRank() && " "$0.getType().cast<ShapedType>().getRank() <= " # n>>; // Checks if the value has rank 'n'. class HasRank<int n> : Constraint< CPred<"$0.getType().cast<ShapedType>().hasRank() && " "$0.getType().cast<ShapedType>().getRank() == " # n>>; class FloatValueEquals<string val> : Constraint<CPred< "FloatValueEquals($0, " # val # ")">>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 66.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 74.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc
// tensor, for setting depth_multiplier attribute, etc.). auto filter = tf_op.getFilter(); auto filter_type = mlir::dyn_cast<RankedTensorType>(filter.getType()); if (!filter_type || filter_type.getRank() != 4 || !filter_type.hasStaticShape()) return failure(); Value input = tf_op.getInput(); RankedTensorType input_type = mlir::dyn_cast<RankedTensorType>(input.getType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 64.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
// the first `TensorListSetItemOp`. if (auto shaped_type = element_shape.getType().dyn_cast<ShapedType>()) { if (shaped_type.hasRank() && shaped_type.getRank() == 0) { bool element_shape_acquired = false; auto uses = op.getResult().getUses(); for (auto &use : llvm::make_early_inc_range(uses)) { if (TF::TensorListSetItemOp set_op =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc
TensorType new_shape = RankedTensorType::get( {weight_shape[0], weight_shape[1], in_channels, multiplier}, weight_type.getElementType()); int cur_rank = weight_type.getRank(); // Inserts a reshape op. auto shape_spec_type = RankedTensorType::get({cur_rank}, rewriter.getIntegerType(64)); auto new_shape_const_attr =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 54.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc
const int quantization_dimension = GetFilterQuantizationDimension( op.getDotDimensionNumbers(), mlir::cast<TensorType>(filter_value_attr.getType()).getRank()); const UniformQuantizedPerAxisType filter_uniform_quantized_type = CreateI8F32UniformQuantizedPerAxisType( filter_constant_op.getLoc(), *rewriter.getContext(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 64.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
if (matchPattern(op_state.operands[1], m_Constant(&shape_attr))) { auto shape_ty = op_state.operands[1].getType().dyn_cast<RankedTensorType>(); if (shape_ty != nullptr && shape_ty.hasRank() && shape_ty.getRank() > 1) { llvm::SmallVector<mlir::Attribute, 4> shape; int32_t dim_size = 0; for (const auto& dim : llvm::enumerate(shape_attr.getValues<llvm::APInt>())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
val stream2 = connection.newStream(headerEntries("b", "banana"), true) connection.writePingAndAwaitPong() // Ensure the GO_AWAY that resets stream2 has been received. val sink1 = stream1.getSink().buffer() val sink2 = stream2.getSink().buffer() sink1.writeUtf8("abc") assertFailsWith<IOException> { sink2.writeUtf8("abc") sink2.flush() }.also { expected ->
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 75.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultProject.java
@Override public AntBuilder ant(Closure configureClosure) { return ConfigureUtil.configure(configureClosure, getAnt()); } @Override public AntBuilder ant(Action<? super AntBuilder> configureAction) { AntBuilder ant = getAnt(); configureAction.execute(ant); return ant; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 50.2K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/Project.java
*/ AntBuilder getAnt(); /** * <p>Creates an additional <code>AntBuilder</code> for this project. You can use this in your build file to execute * ant tasks.</p> * * @return Creates an <code>AntBuilder</code> for this project. Never returns null. * @see #getAnt() */ AntBuilder createAntBuilder(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 04:56:22 UTC 2024 - 74.3K bytes - Viewed (0)