- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 237 for Operands (0.14 sec)
-
tensorflow/compiler/mlir/lite/tests/tfl_while_outline.mlir
// Verify that while body//cond with implicitly captured values result in changing while operands/results. func.func @while2(%cst : tensor<i32>) -> tensor<1xf32> attributes {tf.entry_function = {outputs = "result"}} { %cst_0 = arith.constant dense<5> : tensor<i32> %cst_1 = arith.constant dense<3.000000e+00> : tensor<1xf32> // Verifies 3 operands post outlining. // CHECK: "tfl.while"({{.*}}, {{.*}}, {{.*}}) (
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 13.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.proto
// quantizable unit. message StaticRangePtq { // Operand index -> QuantizedType mapping. Operands that are not specified // here will be quantized with best effort. map<int32, QuantizedType> input_quantized_types = 1; } message WeightOnlyPtq { // Operand index -> QuantizedType mapping. Operands that are not specified // here will be quantized with best effort.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 14.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc
call.getNumResults() != yield.getNumOperands()) return std::nullopt; for (auto [arg, operand] : llvm::zip(block.getArguments(), call.getOperands())) { if (arg != operand) return std::nullopt; } for (auto [ret, operand] : llvm::zip(call.getResults(), yield.getOperands())) { if (ret != operand) return std::nullopt; } SymbolRefAttr symbol = call.getCallableForCallee().get<SymbolRefAttr>();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K bytes - Viewed (0) -
src/go/constant/value.go
} // BinaryOp returns the result of the binary expression x op y. // The operation must be defined for the operands. If one of the // operands is [Unknown], the result is [Unknown]. // BinaryOp doesn't handle comparisons or shifts; use [Compare] // or [Shift] instead. // // To force integer division of [Int] operands, use op == [token.QUO_ASSIGN] // instead of [token.QUO]; the result is guaranteed to be [Int] in this case.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 34K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.h
} // Collects all candidate ops for quantization, which is the operand of // `quantize_op`. If successful, this always returns one element which is the // operand of `quantize_op`. FailureOr<SmallVector<Operation*>> CollectCandidateOps( QuantizeOpT quantize_op) const { Value operand = quantize_op->getOperand(0); if (QuantizedType::getQuantizedElementType(operand.getType())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc
if ((lhs_bcast_op && rhs_bcast_op) || (!lhs_bcast_op && !rhs_bcast_op)) { return rewriter.notifyMatchFailure( binary_op, "Operands should have exactly one BroadcastInDim op."); } // When the operand other than the broadcast op is not a const op, we // should not fold broadcast op. auto binary_op_const_operand =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.td
`tf_device.replicate`, and associated `tf.TPUReplicatedInput` and `tf.TPUReplicatedOutput` ops are replaced as the `tf_device.replicate` operands and results. Otherwise, the single operands and results of the associated `tf.TPUReplicatedInput` and `tf.TPUReplicatedOutput` ops are simply forwarded to the `tf_device.cluster`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 02:01:13 UTC 2024 - 19.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc
// inputs. SmallVector<Value, 4> inputs; inputs.reserve(quantizing_op->getNumOperands()); for (const auto& operand : quantizing_op->getOperands()) { Type operand_type = operand.getType(); if (operand_type.isa<NoneType>()) { inputs.push_back(operand); continue; } Type elem_type = operand_type.cast<TensorType>().getElementType();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 23.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
}; if (tf_op->hasTrait<mlir::OpTrait::AttrSizedOperandSegments>() || tf_op->hasTrait<mlir::OpTrait::AttrSizedResultSegments>()) { // The op has multiple variadic operands or results. // Calculate operand and result segment sizes using the OpDef. tensorflow::NameRangeMap input_ranges, output_ranges; // This will fail only if the OpDef is syntactically invalid.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir
// expected-remark@+1 {{lowering requires bounded tensor operands}} %0 = "tf.Atan2"(%arg0, %arg0) : (tensor<*xf32>, tensor<*xf32>) -> tensor<*xf32> func.return %0 : tensor<*xf32> } // CHECK-LABEL: dynamic_operand func.func @dynamic_operand(%arg0: tensor<?xf32>) -> tensor<?xf32> { // CHECK: tf.Atan2 // expected-remark@+1 {{lowering requires bounded tensor operands}}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 15:32:52 UTC 2024 - 38.6K bytes - Viewed (1)