Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Sigmoid (0.15 sec)

  1. tensorflow/cc/gradients/math_grad_test.cc

    }
    
    TEST_F(CWiseUnaryGradTest, Sigmoid) {
      auto x_fn = [this](const int i) { return RV({0, -1, 1, -2, 2, -3, 3}); };
      TestCWiseGrad<float, float>(SIGMOID, x_fn);
    }
    
    TEST_F(CWiseUnaryGradTest, Sigmoid_Complex) {
      auto x_fn = [this](const int i) {
        return CRV({{1, 0}, {0, 0}, {2, -1}, {1, 2}, {3, 4}});
      };
      TestCWiseGrad<complex64, complex64>(SIGMOID, x_fn);
    }
    
    TEST_F(CWiseUnaryGradTest, Sign) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 36K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_config.h

      // inconsistent with Conv 1x1 which always performs per channel quantization.
      bool disable_per_channel_for_dense_layers = false;
    
      // Whether to use fixed output ranges of the activation ops (tanh, sigmoid,
      // etc.) and not infer weight constants.
      // If this option is set, quantization emulation ops should be placed after
      // the ops in the input graph. This flag should be set to false for
      // post-training quantization.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 10:16:19 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/crypto/ecdsa/ecdsa_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package ecdsa
    
    import (
    	"bufio"
    	"bytes"
    	"compress/bzip2"
    	"crypto/elliptic"
    	"crypto/internal/bigmod"
    	"crypto/rand"
    	"crypto/sha1"
    	"crypto/sha256"
    	"crypto/sha512"
    	"encoding/hex"
    	"hash"
    	"io"
    	"math/big"
    	"os"
    	"strings"
    	"testing"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:58 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. 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)
  10. src/crypto/internal/bigmod/nat_test.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 (
    	"fmt"
    	"math/big"
    	"math/bits"
    	"math/rand"
    	"reflect"
    	"strings"
    	"testing"
    	"testing/quick"
    )
    
    func (n *Nat) String() string {
    	var limbs []string
    	for i := range n.limbs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 12 00:56:20 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top