- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 85 for Unary (0.04 sec)
-
src/go/constant/value_test.go
func TestNumbers(t *testing.T) { testNumbers(t, token.INT, intTests) testNumbers(t, token.FLOAT, floatTests) testNumbers(t, token.IMAG, imagTests) } var opTests = []string{ // unary operations `+ 0 = 0`, `+ ? = ?`, `- 1 = -1`, `- ? = ?`, `^ 0 = -1`, `^ ? = ?`, `! true = false`, `! false = true`, `! ? = ?`, // etc. // binary operations
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 15.6K bytes - Viewed (0) -
test/fixedbugs/issue9604b.go
eqn := fmt.Sprintf("%s_%s %s %s_%s != %d", t.name, valname(x), op.name, t.name, valname(y), r) fmt.Printf("\tif %s { println(\"bad: %s\") }\n", eqn, eqn) } } } // test unary ops for _, op := range unops { for _, x := range t.testvalues() { r := t.trunc(op.eval(x)) eqn := fmt.Sprintf("%s %s_%s != %d", op.name, t.name, valname(x), r)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 4.8K 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/syntax/nodes.go
// X.(type) // Lhs := X.(type) TypeSwitchGuard struct { Lhs *Name // nil means no Lhs := X Expr // X.(type) expr } Operation struct { Op Operator X, Y Expr // Y == nil means unary expression expr } // Fun(ArgList[0], ArgList[1], ...) CallExpr struct { Fun Expr ArgList []Expr // nil means no arguments HasDots bool // last argument is followed by ... expr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 14:52:38 UTC 2023 - 9K 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) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest_pred_impl.h
#v1, \ pred, \ v1), on_failure) // Unary predicate assertion macros. #define EXPECT_PRED_FORMAT1(pred_format, v1) \ GTEST_PRED_FORMAT1_(pred_format, v1, GTEST_NONFATAL_FAILURE_) #define EXPECT_PRED1(pred, v1) \ GTEST_PRED1_(pred, v1, GTEST_NONFATAL_FAILURE_)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td
// example tf.Sub operation. def TF_CwiseBinary : NativeOpTrait<"TF::CwiseBinary">; // Coefficient wise unary operation, for example tf.Sqrt operation. def TF_CwiseUnary : NativeOpTrait<"TF::CwiseUnary">; // op op X == op X (unary) / X op X == X (binary) // This version requires TF_SameOperandsAndResultTypeResolveRef trait unlike // the core implementation requiring SameOperandsAndResultType.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 30.5K 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)