Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 562 for refStore (0.14 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/ifrt/tf_restore_merging.mlir

    // RUN: tf-tfrt-opt %s -tf-restore-merging | FileCheck %s
    
    // CHECK-LABEL: func @single_restore_group
    // CHECK-SAME:    (%[[ARG0:.*]]: {{.*}})
    func.func @single_restore_group(%arg0: tensor<!tf_type.string>) -> (tensor<*xf32>, tensor<*xi32>) {
      %0 = "tf.Const"() {value = dense<"foo"> : tensor<1x!tf_type.string>} : () -> tensor<1x!tf_type.string>
      %1 = "tf.Const"() {value = dense<""> : tensor<1x!tf_type.string>} : () -> tensor<1x!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 06 18:22:47 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/UnitCodecTest.kt

    import org.junit.Test
    import spock.lang.Issue
    
    
    class UnitCodecTest : AbstractUserTypeCodecTest() {
    
        @Test
        @Issue("https://github.com/gradle/gradle/issues/25560")
        fun `same Unit instance is used upon restore`() {
            configurationCacheRoundtripOf(Unit).run {
                assertThat(this, sameInstance(Unit))
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. src/testing/run_example.go

    	}()
    
    	finished := false
    	start := time.Now()
    
    	// Clean up in a deferred call so we can recover if the example panics.
    	defer func() {
    		timeSpent := time.Since(start)
    
    		// Close pipe, restore stdout, get output.
    		w.Close()
    		os.Stdout = stdout
    		out := <-outC
    
    		err := recover()
    		ok = eg.processRunResult(out, timeSpent, finished, err)
    	}()
    
    	// Run example.
    	eg.F()
    	finished = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/cover_main_import_path.txt

    go build -cover -o $WORK/prog.exe .
    
    # Save off old GOCOVERDIR setting
    env SAVEGOCOVERDIR=$GOCOVERDIR
    
    mkdir $WORK/covdata
    env GOCOVERDIR=$WORK/covdata
    exec $WORK/prog.exe
    
    # Restore previous GOCOVERDIR setting
    env GOCOVERDIR=$SAVEGOCOVERDIR
    
    # Report percent lines covered.
    go tool covdata percent -i=$WORK/covdata
    stdout '\s*mainwithtest\s+coverage:'
    ! stdout 'main\s+coverage:'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:17 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. test/codegen/issue61356.go

    // asmcheck
    
    // Copyright 2023 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.
    
    // Make sure this code doesn't generate spill/restore.
    
    package codegen
    
    func pack20(in *[20]uint64) uint64 {
    	var out uint64
    	out |= 4
    	// amd64:-`.*SP.*`
    	out |= in[0] << 4
    	// amd64:-`.*SP.*`
    	out |= in[1] << 7
    	// amd64:-`.*SP.*`
    	out |= in[2] << 10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 26 17:19:14 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Lexer.kt

                return null; // ignoring file annotation
            }
    
            restore(startIndex)
            if (let(kotlinGrammar.annotation) is ParserResult.Success<*>) {
                return startIndex.offset until currentPosition.offset
            }
    
            restore(startIndex)
            advance()
    
            return null
        }
    
        KotlinLexer().apply {
            start(script)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  7. pkg/registry/core/service/allocator/storage/storage_test.go

    		t.Fatal(err)
    	}
    	if allocation.Range != "rangeSpecValue" {
    		t.Errorf("unexpected stored Range: %s", allocation.Range)
    	}
    	if err := other.Restore("rangeSpecValue", allocation.Data); err != nil {
    		t.Fatal(err)
    	}
    	if !other.Has(2) {
    		t.Fatalf("could not restore allocated IP: %#v", other)
    	}
    
    	other = allocator.NewAllocationMap(100, "rangeSpecValue")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 01 20:54:26 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  8. src/runtime/sys_linux_arm.s

    	MOVW	$0, R8
    	MOVW	R8, (R7) // clear g slot
    
    	JMP	finish
    
    nosaveg:
    	BL	(R4)
    
    finish:
    	MOVW	R5, R13		// Restore real SP
    	// Restore vdsoPC, vdsoSP
    	// We don't worry about being signaled between the two stores.
    	// If we are not in a signal handler, we'll restore vdsoSP to 0,
    	// and no one will care about vdsoPC. If we are in a signal handler,
    	// we cannot receive another signal.
    	MOVW	8(R13), R7
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  9. src/math/floor_riscv64.s

    	FLTD	F1, F2, X6;	\
    	/* Inf should keep same signed with x then return */;	\
    	BEQZ	X6, 3(PC); \
    	FCVTLD.MODE	F0, X6;	\
    	FCVTDL	X6, F1;		\
    	/* rounding will drop signed bit in RISCV, restore it */; \
    	FSGNJD	F0, F1, F0;	\
    	MOVD	F0, ret+8(FP); 	\
    	RET
    
    // func archFloor(x float64) float64
    ROUNDFN(·archFloor, RDN)
    
    // func archCeil(x float64) float64
    ROUNDFN(·archCeil, RUP)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 08:34:12 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/saved_model/core/ops/restore_ops.h

    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    namespace internal {
    
    // TODO(bmzhao): Add a function to restore multiple tensors in one call.
    
    // Restores a single non-partioned tensorhandle of dtype `dtype`, using
    // checkpoint at `prefix`, with a value stored in `checkpoint_key`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 21:44:45 UTC 2022
    - 1.6K bytes
    - Viewed (0)
Back to top