- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 521 for operands_ (0.36 sec)
-
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/transforms/optimize_patterns.td
(BinaryOp:$result (TFL_TileOp $input, (Arith_ConstantOp $tile)), $operand, $act_func), (BinaryOp $input, $operand, $act_func), [(OperandsBroadcastToOutputType $input, $operand, $result), (HasRankAtMost<4> $input), (HasRankAtMost<4> $operand)]>; def FuseTileBroadcastToBinaryOp2#BinaryOp : Pat< (BinaryOp:$result $operand, (TFL_TileOp $input, (Arith_ConstantOp $tile)), $act_func),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 66.4K bytes - Viewed (0) -
test/shift1.go
// from the spec var ( s uint = 33 u = 1.0 << s // ERROR "invalid operation|shift of non-integer operand" v float32 = 1 << s // ERROR "invalid" ) // non-constant shift expressions var ( e1 = g(2.0 << s) // ERROR "invalid|shift of non-integer operand" f1 = h(2 << s) // ERROR "invalid" g1 int64 = 1.1 << s // ERROR "truncated|must be integer" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 03 16:24:32 UTC 2021 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc
return failure(); } MutableArrayRef<BlockArgument> operands = entry_func_op.getBody().getArguments(); // Function must have input, filter, and optionally bias. if (operands.size() != 2 && operands.size() != 3) { LLVM_DEBUG(llvm::dbgs() << GemmStyleOp::getOperationName() << " op function should have 2 or 3 operands.\n"); return failure(); } return success(); }
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/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.h
// -> tfl.batch_matmul(mhlo.transpose(mhlo.reshape(operand)), ...). // Note: // 1) Reshape/transpose are inserted because tfl.BatchMatMul requires // size(contracting_dimensions) = 1 and size(output_dim) = 1, whereas // mhlo.dot_general has no such restriction. // 2) Inserted mhlo.reshape/transpose will be legalized to tf.reshape/transpose // in LegalizeHloToTf (then from tf to tfl later). // 3) If the operands are dynamic shaped tensors, mhlo.DynamicReshapeOp is
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 04 19:00:01 UTC 2023 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tensor_array_ops_decomposition.cc
decomposed_partitioned_call_callees) { for (OpOperand& operand : op.getOpOperands()) { if (getElementTypeOrSelf(operand.get().getType()).isa<TF::ResourceType>()) { return op.emitOpError() << "found unexpected type " << operand.get().getType() << " of operand #" << operand.getOperandNumber() << ", resource type operands are expected to have been "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 02 20:41:19 UTC 2023 - 40.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
new_types.back() = rewriter.getType<tf_executor::ControlType>(); // Control operand is attached on tf_executor::IslandOp. llvm::SmallVector<Value> island_control_operands; llvm::SmallVector<Value> inner_op_operands; for (Value value : operands) { // Because of the property of graph region, the control operands may // not have been converted to tf_executor::ControlType.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc
return rewriter.notifyMatchFailure( concat, "Concatenate op should have at least two operands"); auto first = concat.getVal()[0].getDefiningOp<mhlo::SliceOp>(); auto second = concat.getVal()[1].getDefiningOp<mhlo::SliceOp>(); if (!first || !second) return rewriter.notifyMatchFailure(concat, "operands are not slice ops"); if (first.getOperand() != second.getOperand())
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 26.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td
avoid atomic contention on AsyncValue's refcount. }]; let arguments = (ins TFTensorType:$operand ); let results = (outs Variadic<TFTensorType>:$results ); let assemblyFormat = "$operand attr-dict `:` `(` type($operand) `)` `->` `(` type($results) `)`"; } def CreateOp: FallbackAsync_Op<"createop", [CoreRT_TypedAttributeTrait]> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 18 15:01:21 UTC 2024 - 15.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_predicates.go
} // Identical reports whether x and y are identical types. // Receivers of [Signature] types are ignored. // // Predicates such as [Identical], [Implements], and // [Satisfies] assume that both operands belong to a // consistent collection of symbols ([Object] values). // For example, two [Named] types can be identical only if their // [Named.Obj] methods return the same [TypeName] symbol.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 16:36:08 UTC 2024 - 3.3K bytes - Viewed (0)