Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Sigmoid (0.14 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

                (CastValueToI64 $old, $shape),
                MHLO_RngDistributionValue<"NORMAL">),
              [(IsShapedTensor $shape)]>;
    
    //===----------------------------------------------------------------------===//
    // Sigmoid grad op.
    //===----------------------------------------------------------------------===//
    
    // TODO(hinsu): Handle unranked inputs by broadcasting constant one to the
    // shape of $l instead of having it as a constant.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    // =============================================================================
    // Training OPs
    // =============================================================================
    
    // `grad = dy * y * (1 - y)`, where `y = sigmoid(x)`
    def LegalizeSigmoidGrad : Pat<(TF_SigmoidGradOp $y, $dy),
      (TFL_MulOp $dy, (TFL_MulOp $y, (TFL_SubOp
            (Arith_ConstantOp ConstantAttr<RankedF32ElementsAttr<[]>, "1.0f">),
            $y, TFL_AF_None),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

    // be checked first if present.
    // TODO: b/323478683: Consider deprecating this.
    struct OpQuantScaleSpec {
      // Whether this op has a fixed range requirement (e.g. sigmoid)
      bool has_fixed_output_range = false;
      // Whether this op should have same operand and result scales (e.g. concat)
      bool has_same_scale_requirement = false;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  4. src/crypto/rsa/rsa.go

    	}
    
    	var (
    		err  error
    		m, c *bigmod.Nat
    		N    *bigmod.Modulus
    		t0   = bigmod.NewNat()
    	)
    	if priv.Precomputed.n == nil {
    		N, err = bigmod.NewModulusFromBig(priv.N)
    		if err != nil {
    			return nil, ErrDecryption
    		}
    		c, err = bigmod.NewNat().SetBytes(ciphertext, N)
    		if err != nil {
    			return nil, ErrDecryption
    		}
    		m = bigmod.NewNat().Exp(c, priv.D.Bytes(), N)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  5. src/crypto/ecdsa/ecdsa.go

    	}
    
    	// SEC 1, Version 2.0, Section 4.1.4
    
    	r, err := bigmod.NewNat().SetBytes(rBytes, c.N)
    	if err != nil || r.IsZero() == 1 {
    		return false
    	}
    	s, err := bigmod.NewNat().SetBytes(sBytes, c.N)
    	if err != nil || s.IsZero() == 1 {
    		return false
    	}
    
    	e := bigmod.NewNat()
    	hashToNat(c, e, hash)
    
    	// w = s⁻¹
    	w := bigmod.NewNat()
    	inverse(c, w, s)
    
    	// p₁ = [e * s⁻¹]G
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. src/crypto/internal/bigmod/nat.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bigmod
    
    import (
    	"errors"
    	"internal/byteorder"
    	"math/big"
    	"math/bits"
    )
    
    const (
    	// _W is the size in bits of our limbs.
    	_W = bits.UintSize
    	// _S is the size in bytes of our limbs.
    	_S = _W / 8
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/stdlib_test.go

    var excluded = map[string]bool{
    	"builtin": true,
    
    	// go.dev/issue/46027: some imports are missing for this submodule.
    	"crypto/internal/edwards25519/field/_asm": true,
    	"crypto/internal/bigmod/_asm":             true,
    }
    
    // printPackageMu synchronizes the printing of type-checked package files in
    // the typecheckFiles function.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/go/build/deps_test.go

    	< crypto/internal/boring/bbig
    	< crypto/rand
    	< crypto/internal/mlkem768
    	< crypto/ed25519
    	< encoding/asn1
    	< golang.org/x/crypto/cryptobyte/asn1
    	< golang.org/x/crypto/cryptobyte
    	< crypto/internal/bigmod
    	< crypto/dsa, crypto/elliptic, crypto/rsa
    	< crypto/ecdsa
    	< CRYPTO-MATH;
    
    	CGO, net !< CRYPTO-MATH;
    
    	# TLS, Prince of Dependencies.
    	CRYPTO-MATH, NET, container/list, encoding/hex, encoding/pem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top