- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for Unary (0.04 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h
return argumentOp->getOperand(0); } return {}; } } // namespace detail // This class adds property that the operation is idempotent. // This means a unary to unary operation "f" that satisfies f(f(x)) = f(x), // or a binary operation "g" that satisfies g(x, x) = x. template <typename ConcreteType> class IsIdempotent : public TraitBase<ConcreteType, IsIdempotent> { public:
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/tpu_host_computation_expansion.cc
} // TODO(b/158596585): Replace this with a cost model analysis. bool IsTrivialUnaryOperation(Operation* op) { return llvm::isa<TF::CastOp, TF::IdentityOp>(op); } // Adds outside compilation attributes to unary ops such as Identity/Cast ops // at the head of TPU computation that is used only by other outside compiled // ops. Identity ops and Cast ops is commonly added to the start of TPU
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc
if (op->getNumOperands() != 1) { return rewriter.notifyMatchFailure( op, "Function only supports unary einsum op"); } RankedTensorType lhs = mlir::dyn_cast_or_null<RankedTensorType>(op.getOperand(0).getType()); if (!lhs) { return failure(); } // unary einsum op is only supported to the case where the operation can be // replaced using reduce_sum and/or transpose
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.3K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt
// - Labels themselves: `@label` in return`@label` or `label@`while... is KtLabelReferenceExpression -> false // - The operation symbol itself in binary and unary operations: `!!`, `+`... is KtOperationReferenceExpression -> false // All other expressions are used if their parent expression uses them. else ->
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 16:16:39 UTC 2024 - 17.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_globals_to_ml_program.cc
return success(); } } return op->emitOpError("Block has no predecessor"); } if (v.getDefiningOp()->getNumOperands() == 1) { // If the value is originating from an unary op, assume it's something // simple like "cast" and keep tracing. return traceUpwardsToArgument(v.getDefiningOp()->getOperand(0), seen, out); } else { // Typically a tf.VarHandle op.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.6K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 105.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/expr.go
func underIs(typ Type, f func(Type) bool) bool { typ = Unalias(typ) if tpar, _ := typ.(*TypeParam); tpar != nil { return tpar.underIs(f) } return f(under(typ)) } func (check *Checker) unary(x *operand, e *syntax.Operation) { check.expr(nil, x, e.X) if x.mode == invalid { return } op := e.Op switch op { case syntax.And: // spec: "As an exception to the addressability
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 51.7K bytes - Viewed (0) -
tensorflow/c/kernels_experimental.cc
} const std::string type_index_name = ::tensorflow::port::MaybeAbiDemangle(a.TypeId().name()); return ::tensorflow::errors::Internal( "No unary variant binary_op function found for op ADD Variant " "type_name: ", type_index_name, " for device type: ", cc_ctx->device()->name()); } void TF_AddNVariant(TF_OpKernelContext* ctx,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 06:12:29 UTC 2024 - 30.9K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt
ConstantValueKind.Boolean -> CompileTimeType.BOOLEAN ConstantValueKind.String -> CompileTimeType.STRING else -> CompileTimeType.ANY } } // Unary operators private fun FirLiteralExpression.evaluate(function: FirSimpleFunction): FirLiteralExpression? { if (value == null) return null (value as? String)?.let { opr -> evalUnaryOp(
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Jun 07 11:53:09 UTC 2024 - 16.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc
namespace mlir::quant { using QuantMethod = tensorflow::quantization::QuantizationMethod::PresetMethod; enum class OpType { kDynamicRangeOp, // Dynamic Range kernels only have rhs attr. kUnaryOp, // Unary ops have one min/max attr. kBinaryOp, // Binary ops have lhs/rhs attr. kQuantizationOp, // Quantization ops have input/output attr. }; // For each op type, the following axis carries axis information:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 18.7K bytes - Viewed (0)