- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for Operands (0.42 sec)
-
src/math/big/floatexample_test.go
// 2 // 4 // 8 // 16 } func ExampleFloat_Cmp() { inf := math.Inf(1) zero := 0.0 operands := []float64{-inf, -1.2, -zero, 0, +1.2, +inf} fmt.Println(" x y cmp") fmt.Println("---------------") for _, x64 := range operands { x := big.NewFloat(x64) for _, y64 := range operands { y := big.NewFloat(y64) fmt.Printf("%4g %4g %3d\n", x, y, x.Cmp(y)) } fmt.Println() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 15:46:54 UTC 2024 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_with_tf2xla.cc
Operation* op, ArrayRef<Value> operands, ConversionPatternRewriter& rewriter) const override { // This pattern is a conversion pattern because we want to specify a type // converter. However, this pattern still uses the original op's operands // while creating the ops so make sure there aren't any type changes between // the original op operands and the operands during the conversion.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 9.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc
}; // Rewrites the given op to `OpT` op after adding the given operand at the end. template <typename OpT> OpT AddOperandAndRewriteAs(Operation* op, Value operand, NamedAttrList attr, OpBuilder* builder) { builder->setInsertionPoint(op); auto operands = llvm::to_vector<4>(op->getOperands()); operands.push_back(operand); auto new_op = builder->create<OpT>(op->getLoc(), op->getResultTypes(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 22:55:42 UTC 2024 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.h
// within its purview are mutating in nature. void PropagatePotentiallyWrittenWithinUnhandledOp(Operation* op); // Given a Region associated with the callee and operands from the // corresponding callOp, propagate the potentially written decision to the // callOp's operands, if the corresponding region's arguments are potentially // written resources. void PropagatePotentiallyWrittenUpFromCallee(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_ops.td
$operands_with_static_shape are indices of operands that are tagged with a maximum static shape. $producer_name is a string describing the name of the framework that added support for running this portion of the model on TPUs. Example: %rendezvous_key_base, %result = tf_mlrt_tpu.compile_and_execute (%operands) constant_operand_indices = [1, 3] metadata = "metadata..." mlir_module = "mlir_module..."
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 21:35:32 UTC 2024 - 6.7K bytes - Viewed (0) -
src/fmt/errors.go
// // If the format specifier includes a %w verb with an error operand, // the returned error will implement an Unwrap method returning the operand. // If there is more than one %w verb, the returned error will implement an // Unwrap method returning a []error containing all the %w operands in the // order they appear in the arguments. // It is invalid to supply the %w verb with an operand that does not implement
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/constant_fold.cc
if (isa<TF::ConstOp>(op)) return true; if (op->getDialect()->getNamespace() != "tf" || !TF::CanBeFolded(op)) { return false; } // Check if the operands are foldable as well. for (auto operand : op->getOperands()) { auto preceding_op = operand.getDefiningOp(); if (!preceding_op || !IsOperationFoldable(preceding_op)) { return false; } } return true; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/config.cc
// Assumes NHWC format, specifying the channel dimension (3) as the // quantized axis. conv_weight_quantized_type.mutable_dimension_specs()->set_dimension(3); // The index of weight operands passed to lifted functions for convolution // is 1. StaticRangePtq& static_range_ptq_spec = *spec.mutable_method()->mutable_static_range_ptq(); static_range_ptq_spec.mutable_input_quantized_types()->try_emplace(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 8.3K bytes - Viewed (0) -
src/go/types/conversions.go
msg := check.sprintf(format, args...) if *cause != "" { msg += "\n\t" + *cause } *cause = msg } } // generic cases with specific type terms // (generic operands cannot be constants, so we can ignore x.val) switch { case Vp != nil && Tp != nil: x := *x // don't clobber outer x return Vp.is(func(V *term) bool { if V == nil { return false // no specific types
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:51:00 UTC 2024 - 9.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/conversions.go
msg := check.sprintf(format, args...) if *cause != "" { msg += "\n\t" + *cause } *cause = msg } } // generic cases with specific type terms // (generic operands cannot be constants, so we can ignore x.val) switch { case Vp != nil && Tp != nil: x := *x // don't clobber outer x return Vp.is(func(V *term) bool { if V == nil { return false // no specific types
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:51:00 UTC 2024 - 9K bytes - Viewed (0)