Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 287 for biases (0.1 sec)

  1. tensorflow/compiler/mlir/tfr/examples/mnist/mnist_train.py

        fc1 = gen_mnist_ops.new_fully_connected(reshape, self.weights['f3'],
                                                self.biases['b3'], 'RELU')
        # output shape: [-1, 10]
        return gen_mnist_ops.new_fully_connected(fc1, self.weights['f4'],
                                                 self.biases['b4'])
    
    
    def main(strategy):
      """Trains an MNIST model using the given tf.distribute.Strategy."""
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 20 03:05:18 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/default_quant_params.cc

     private:
      // Whether the value is used as a bias input of another op. Here we assume
      // bias is used immediately by the user. This assumption is always correct
      // after constant folding.
      bool UsedAsBias(Value value) {
        for (auto &use : value.getUses()) {
          auto biases = TFL::GetOpQuantSpec(use.getOwner())->biases_params;
          if (biases.find(use.getOperandNumber()) != biases.end()) return true;
        }
        return false;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/transforms/fold_constants_to_subgraph.cc

            return;
    
          // We only fold int32/int64 for Const and i32 for QConst if not specify
          // all constants flag. (Since they're more like "configs" or i32 biases.)
          // We will fold every const ops (and q_const ops) if we speicfy the
          // fold_all_constants_flag.
          if (!fold_all_constants_flag_) {
            if (!IsConstOrQConstInt(op)) return;
          }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. src/internal/fuzz/mutators_byteslice.go

    	// randomly. We may want to either pick a much larger value
    	// (AFL uses 32768, paired with a similar impl to chooseLen
    	// which biases towards smaller lengths that grow over time),
    	// or set the max based on characteristics of the corpus
    	// (libFuzzer sets a min/max based on the min/max size of
    	// entries in the corpus and then picks uniformly from
    	// that range).
    	n := m.chooseLen(4096)
    	if len(b)+n >= cap(b) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 19 18:23:43 UTC 2021
    - 7.7K bytes
    - Viewed (0)
  5. src/go/internal/gccgoimporter/testdata/aliases.gox

    v2;
    package aliases;
    prefix go;
    package aliases go.aliases go.aliases;
    type <type 1 "A0" = <type 2 "T0" <type 3 [10 ] <type -11>>
     func (? <esc:0x1> <type 2>) .go.aliases.m1 ();
     func (? <esc:0x1> <type 1>) .go.aliases.m2 ();
     func (? <esc:0x1> <type 4 "V1" = <type 5 "V2" = <type 6 "V3" = <type 2>>>>) .go.aliases.n ();
    >>;
    type <type 7 "A1" = <type 8 "T1" <type 9 [] <type -20>>>>;
    type <type 10 "A10" = <type 11 [10 ] <type -11>>>;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 27 02:52:03 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  6. src/go/internal/gccgoimporter/testdata/aliases.go

    package aliases
    
    type (
    	T0 [10]int
    	T1 []byte
    	T2 struct {
    		x int
    	}
    	T3 interface {
    		m() T2
    	}
    	T4 func(int, T0) chan T2
    )
    
    // basic aliases
    type (
    	Ai = int
    	A0 = T0
    	A1 = T1
    	A2 = T2
    	A3 = T3
    	A4 = T4
    
    	A10 = [10]int
    	A11 = []byte
    	A12 = struct {
    		x int
    	}
    	A13 = interface {
    		m() A2
    	}
    	A14 = func(int, A0) chan A2
    )
    
    // alias receiver types
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 27 02:52:03 UTC 2018
    - 624 bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/aliases/aliases.go

    // Copyright 2024 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 aliases
    
    import (
    	"go/token"
    	"go/types"
    )
    
    // Package aliases defines backward compatible shims
    // for the types.Alias type representation added in 1.22.
    // This defines placeholders for x/tools until 1.26.
    
    // NewAlias creates a new TypeName in Package pkg that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. hack/verify-import-aliases.sh

    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # This script verifies that all the imports have our preferred alias(es). The
    # preferred aliases for imports are listed in `hack/.import-aliases`.
    # Usage: `hack/verify-import-aliases.sh`.
    
    set -o errexit
    set -o nounset
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. cluster/gce/upgrade-aliases.sh

    # distributed under the License is distributed on an "AS IS" BASIS,
    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # !!!EXPERIMENTAL!!! Upgrade a K8s cluster from routes to IP aliases for
    # node connectivity on GCE. This is only for migration.
    
    set -o errexit
    set -o nounset
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. src/net/testdata/aliases

    Mateusz Poliwczak <******@****.***> 1668103677 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 18:29:14 UTC 2022
    - 257 bytes
    - Viewed (0)
Back to top