- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 61 for NEG (0.02 sec)
-
tensorflow/c/eager/gradients_test.cc
absl::Span<AbstractTensorHandle*> outputs) { Tape tape(/*persistent=*/false); tape.Watch(inputs[0]); AbstractTensorHandle* neg_output; TF_RETURN_IF_ERROR(ops::Neg(ctx, inputs[0], &neg_output, "Neg")); tape.RecordOperation(inputs, {neg_output}, nullptr, "Neg"); return tape.ComputeGradient(ctx, /*targets=*/{neg_output}, /*sources=*/inputs,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 7K bytes - Viewed (0) -
src/math/big/floatmarsh.go
func (x *Float) GobEncode() ([]byte, error) { if x == nil { return nil, nil } // determine max. space (bytes) required for encoding sz := 1 + 1 + 4 // version + mode|acc|form|neg (3+2+2+1bit) + prec n := 0 // number of mantissa words if x.form == finite { // add space for mantissa and exponent n = int((x.prec + (_W - 1)) / _W) // required mantissa length in words for given precision
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:31:58 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/golden/testing_ops.cc.golden
namespace tensorflow { namespace ops { // Op: Neg() // Summary: // // Description: Status Neg(AbstractContext* ctx, AbstractTensorHandle* const x, AbstractTensorHandle** y, const char* name, const char* raw_device_name) { AbstractOperationPtr op_ptr(ctx->CreateOperation()); TF_RETURN_IF_ERROR(op_ptr->Reset("Neg", raw_device_name)); TF_RETURN_IF_ERROR(MaybeSetOpName(op_ptr.get(), name));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 16 19:04:03 UTC 2023 - 6.5K bytes - Viewed (0) -
src/strconv/atoi.go
} if bitSize == 0 { bitSize = IntSize } cutoff := uint64(1 << uint(bitSize-1)) if !neg && un >= cutoff { return int64(cutoff - 1), rangeError(fnParseInt, s0) } if neg && un > cutoff { return -int64(cutoff), rangeError(fnParseInt, s0) } n := int64(un) if neg { n = -n } return n, nil } // Atoi is equivalent to ParseInt(s, 10, 0), converted to type int.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 05 00:24:26 UTC 2024 - 8.3K bytes - Viewed (0) -
src/strconv/itoa.go
// formatBits computes the string representation of u in the given base. // If neg is set, u is treated as negative int64 value. If append_ is // set, the string is appended to dst and the resulting byte slice is // returned as the first result value; otherwise the string is returned // as the second result value. func formatBits(dst []byte, u uint64, base int, neg, append_ bool) (d []byte, s string) { if base < 2 || base > len(digits) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:28 UTC 2024 - 5.3K bytes - Viewed (0) -
src/math/big/ratmarsh.go
// this should never happen return nil, errors.New("Rat.GobEncode: numerator too large") } byteorder.BePutUint32(buf[j-4:j], uint32(n)) j -= 1 + 4 b := ratGobVersion << 1 // make space for sign bit if x.a.neg { b |= 1 } buf[j] = b return buf[j:], nil } // GobDecode implements the [encoding/gob.GobDecoder] interface. func (z *Rat) GobDecode(buf []byte) error { if len(buf) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:31:58 UTC 2024 - 2.2K bytes - Viewed (0) -
src/runtime/sys_freebsd_riscv64.s
MOV uaddr1+16(FP), A3 MOV ut+24(FP), A4 MOV $SYS__umtx_op, T0 ECALL BEQ T0, ZERO, ok NEG A0, A0 ok: MOVW A0, ret+32(FP) RET // func thr_new(param *thrparam, size int32) int32 TEXT runtime·thr_new(SB),NOSPLIT,$0 MOV param+0(FP), A0 MOVW size+8(FP), A1 MOV $SYS_thr_new, T0 ECALL BEQ T0, ZERO, ok NEG A0, A0 ok: MOVW A0, ret+16(FP) RET // func thr_start()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 8.9K bytes - Viewed (0) -
src/database/sql/driver/types_test.go
} } } type dec struct { form byte neg bool coefficient [16]byte exponent int32 } func (d dec) Decompose(buf []byte) (form byte, negative bool, coefficient []byte, exponent int32) { coef := make([]byte, 16) copy(coef, d.coefficient[:]) return d.form, d.neg, coef, d.exponent
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 16:53:24 UTC 2024 - 2.5K bytes - Viewed (0) -
cluster/addons/rbac/cluster-loadbalancing/glbc/roles.yaml
verbs: ["get", "list", "watch"] # TODO: switch to patch services/status # https://github.com/kubernetes/ingress-gce/blob/4918eb2f0f484f09ac9e5a975907a9b16ed2b344/pkg/neg/controller.go#L339-L342 # https://github.com/kubernetes/ingress-gce/blob/4918eb2f0f484f09ac9e5a975907a9b16ed2b344/pkg/neg/controller.go#L359-L361 - apiGroups: [""] resources: ["services", "services/status"] verbs: ["update", "patch"] - apiGroups: ["extensions", "networking.k8s.io"]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 15 13:39:59 UTC 2022 - 3.2K bytes - Viewed (0) -
src/crypto/elliptic/nistec_p256.go
//go:build amd64 || arm64 package elliptic import ( "crypto/internal/nistec" "math/big" ) func (c p256Curve) Inverse(k *big.Int) *big.Int { if k.Sign() < 0 { // This should never happen. k = new(big.Int).Neg(k) } if k.Cmp(c.params.N) >= 0 { // This should never happen. k = new(big.Int).Mod(k, c.params.N) } scalar := k.FillBytes(make([]byte, 32)) inverse, err := nistec.P256OrdInverse(scalar) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 05 21:53:03 UTC 2022 - 696 bytes - Viewed (0)