Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,361 for aloop (0.15 sec)

  1. tensorflow/c/experimental/saved_model/internal/testdata/gen_saved_models.py

      saved_model.save(
          to_save, export_dir=os.path.join(base_dir, "UninitializedVariable"))
    
    
    def _gen_simple_while_loop(base_dir):
      """Generates a saved model with a while loop."""
    
      class Module(module.Module):
        """A module with a while loop."""
    
        @def_function.function(
            input_signature=[tensor_spec.TensorSpec((), dtypes.float32)])
        def compute(self, value):
          acc, _ = while_loop.while_loop(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 06 21:32:57 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. test/fixedbugs/issue7525.go

    // Issue 7525: self-referential array types.
    
    package main
    
    import "unsafe"
    
    var x struct { // GC_ERROR "initialization cycle: x refers to itself"
    	a [unsafe.Sizeof(x.a)]int // GCCGO_ERROR "array bound|typechecking loop|invalid expression"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 14:21:33 UTC 2022
    - 417 bytes
    - Viewed (0)
  3. test/fixedbugs/issue7525d.go

    // Issue 7525: self-referential array types.
    
    package main
    
    import "unsafe"
    
    var x struct { // GC_ERROR "initialization cycle: x refers to itself"
    	b [unsafe.Offsetof(x.b)]int // GCCGO_ERROR "array bound|typechecking loop|invalid array"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 14:21:33 UTC 2022
    - 414 bytes
    - Viewed (0)
  4. test/fixedbugs/issue7525e.go

    // Issue 7525: self-referential array types.
    
    package main
    
    import "unsafe"
    
    var x struct { // GC_ERROR "initialization cycle: x refers to itself"
    	c [unsafe.Alignof(x.c)]int // GCCGO_ERROR "array bound|typechecking loop|invalid array"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 14:21:33 UTC 2022
    - 413 bytes
    - Viewed (0)
  5. cmd/kube-controller-manager/app/certificates.go

    func getKubeletServingSignerFiles(config csrsigningconfig.CSRSigningControllerConfiguration) (string, string) {
    	// if any cert/key is set for specific CSR signing loops, then the --cluster-signing-{cert,key}-file are not used for any CSR signing loop.
    	if anySpecificFilesSet(config) {
    		return config.KubeletServingSignerConfiguration.CertFile, config.KubeletServingSignerConfiguration.KeyFile
    	}
    	return config.ClusterSigningCertFile, config.ClusterSigningKeyFile
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:02 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.td

        match, TPUReshardVariablesOp is a no-op.
    
        A major use of this pass is weight-update sharding in data parallelism, so we
        require there is a tf_device.replicate in the loop.
    
        For example, suppose we have a training loop (for simplicity we write the
        loop body inine):
    
        ```mlir
          %var0 = ...
          %var1 = ...
          tf.while (..., %var0, %var1) {
            tf_device.replicate ([%var0, %var1] as %rvar) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 18:58:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. test/fixedbugs/issue23823.go

    // Copyright 2018 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 p
    
    type I1 = interface {
    	I2
    }
    
    // BAD: type loop should mention I1; see also #41669
    type I2 interface { // GC_ERROR "invalid recursive type: I2 refers to itself"
    	I1 // GCCGO_ERROR "invalid recursive interface"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 14:21:33 UTC 2022
    - 397 bytes
    - Viewed (0)
  8. pkg/volume/fc/disk_manager.go

    			if mntErr != nil {
    				klog.Errorf("IsLikelyNotMountPoint check failed: %v", mntErr)
    				return err
    			}
    			if !noMnt {
    				//  will most likely retry on next sync loop.
    				klog.Errorf("%s is still mounted, despite call to unmount().  Will try again next sync loop.", volPath)
    				return err
    			}
    		}
    		os.Remove(volPath)
    
    		return err
    	}
    
    	if !b.readOnly {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/test_benchmark_1x.txt

    # Test that -benchtime 1x only runs a total of 1 loop iteration.
    # See golang.org/issue/32051.
    
    go test -run ^$ -bench . -benchtime 1x
    
    -- go.mod --
    module bench
    
    go 1.16
    -- x_test.go --
    package bench
    
    import (
    	"fmt"
    	"os"
    	"testing"
    )
    
    var called = false
    
    func TestMain(m *testing.M) {
    	m.Run()
    	if !called {
    		fmt.Println("benchmark never called")
    		os.Exit(1)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 07 21:46:33 UTC 2021
    - 532 bytes
    - Viewed (0)
  10. .github/workflows/feedback.yml

      workflow_dispatch:
    
    permissions: {}
    
    jobs:
      feedback:
        permissions:
          issues: write
          pull-requests: write
        runs-on: ubuntu-latest
        steps:
          # Feedback loop: ask for something on PR/Issue and close if not provided or return to the queue on update.
          # https://github.com/gradle/issue-management-action/blob/main/src/feedback.ts
          - uses: gradle/issue-management-action@v1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 516 bytes
    - Viewed (1)
Back to top