- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 152 for result_types (0.18 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/odml_converter/folders.cc
const bool lhs_splat = const_oprs[0].isSplat(); const bool rhs_splat = const_oprs[1].isSplat(); auto lhs_vals = const_oprs[0].getValues<ResultType>(); auto rhs_vals = const_oprs[1].getValues<ResultType>(); const auto num_results = std::max(lhs_vals.size(), rhs_vals.size()); std::vector<ResultType> res; res.reserve(num_results); auto lhs_start = lhs_vals.begin(); auto rhs_start = rhs_vals.begin();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 06:11:55 UTC 2024 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.cc
auto matmul = rewriter.create<TFL::BatchMatMulOp>( loc, RankedTensorType::get(matmul_shape, result_type.getElementType()), lhs_flattend, rhs_flattend, /*adj_x*/ false_attr, /*adj_y*/ false_attr, /*asym_quant_input*/ false_attr); if (result_type.hasStaticShape()) { auto reshaped = rewriter.create<mhlo::ReshapeOp>(loc, result_type, matmul.getResult()); return reshaped.getResult(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/nchw_convolution_to_nhwc.cc
mlir::cast<TensorType>(input.getType()), kNchwToNhwcPermutation); auto input_transpose_op = rewriter.create<mlir::stablehlo::TransposeOp>( op.getLoc(), /*resultType0=*/new_input_tensor_type, /*operand=*/input, rewriter.getDenseI64ArrayAttr(kNchwToNhwcPermutation)); // Transpose the filter tensor: [o, i, 0, 1] => [0, 1, i, o] Value filter = op->getOperand(1);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/collection_ops_util.cc
values.reserve(rank); for (int i = 0; i < rank; ++i) values.push_back(APInt(bitwidth, r1[i])); auto result_type = tensorflow::GetTypeFromTFTensorShape( {rank}, IntegerType::get(builder.getContext(), bitwidth)); return builder.create<TF::ConstOp>( loc, DenseElementsAttr::get(result_type, values)); } Value GetIndicesForElement(Value index, Value buffer, OpBuilder builder,
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/tensorflow/ir/tf_traits.h
// Verify that the first result type is same as the rest of the results. // We skip the comparison against itself. for (auto result_type : llvm::drop_begin(op->getResultTypes(), 1)) { if (!mlir::tf_type::HasCompatibleElementTypes(type, result_type)) return op->emitOpError() << "requires all return types to have compatible element types"; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/layout_optimization.cc
auto result_type = mlir::dyn_cast_or_null<ShapedType>(transpose_op.getResult().getType()); auto is_valid_move = llvm::all_of(op->getOperands(), [result_type](Value operand) -> bool { auto operand_type = mlir::dyn_cast_or_null<ShapedType>(operand.getType()); return result_type && operand_type && result_type.hasRank() &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.3K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestClassResult.java
return classDisplayName; } public TestClassResult add(TestMethodResult methodResult) { if (methodResult.getResultType() == TestResult.ResultType.FAILURE) { failuresCount++; } if(methodResult.getResultType() == TestResult.ResultType.SKIPPED) { skippedCount++; } methodResults.add(methodResult); return this; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/jvm/testing-junit-platform/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestExecutionListener.java
} private TestCompleteEvent completeEvent() { return completeEvent(null); } private TestCompleteEvent completeEvent(@Nullable ResultType resultType) { return new TestCompleteEvent(clock.getCurrentTime(), resultType); } private boolean wasStarted(TestIdentifier testIdentifier) { return descriptorsByUniqueId.containsKey(testIdentifier.getUniqueId()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 06:58:25 UTC 2024 - 15K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.cc
return false; } Type lhs_type = op->getOperand(0).getType(); Type rhs_type = op->getOperand(1).getType(); Type result_type = op->getResult(0).getType(); return !IsQuantizedTensorType(lhs_type) && IsQuantizedTensorType(rhs_type) && !IsQuantizedTensorType(result_type); } absl::StatusOr<bool> IsDotGeneralFullyConnected(DotGeneralOp dot_general_op) { if (dot_general_op == nullptr)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.h
Value result = enumerated_result.value(); Type result_type = result.getType(); // Add this to the test coverage once we create test ops with none type // results. if (mlir::isa<NoneType>(result_type)) { outputs_replaced.insert({result, enumerated_result.index()}); output_types.push_back(result_type); continue; } Type result_ele_type =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0)