Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,679 for nextB (0.36 sec)

  1. src/internal/trace/testdata/testprog/iter-pull.go

    	trace.Stop()
    }
    
    func pullRange(n int) intIter {
    	next, stop := iter.Pull(func(yield func(v int) bool) {
    		for i := range n {
    			yield(i)
    		}
    	})
    	return intIter{next: next, stop: stop}
    }
    
    type intIter struct {
    	next func() (int, bool)
    	stop func()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tpu_host_computation_expansion.mlir

    func.func @check_consecutive_unary_ops_outside_compiled(%arg0: tensor<?xi32>) {
      // CHECK: "tf_device.cluster"
      // CHECK-NEXT: "tf.Cast"
      // CHECK-SAME: _xla_outside_compilation = ""
      // CHECK-NEXT: "tf.Identity"
      // CHECK-SAME: _xla_outside_compilation = ""
      // CHECK-NEXT: "tf.B"
      "tf_device.cluster"() ({
        %1 = "tf.Cast"(%arg0) : (tensor<?xi32>) -> (tensor<?xi32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  3. src/runtime/type.go

    	var md *moduledata
    	for next := &firstmoduledata; next != nil; next = next.next {
    		if base >= next.types && base < next.etypes {
    			md = next
    			break
    		}
    	}
    	if md == nil {
    		reflectOffsLock()
    		res := reflectOffs.m[int32(off)]
    		reflectOffsUnlock()
    		if res == nil {
    			println("runtime: typeOff", hex(off), "base", hex(base), "not in ranges:")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/go/scanner/scanner.go

    			s.next()
    		}
    		// if we are at '\n', the position following the comment is afterwards
    		next = s.offset
    		if s.ch == '\n' {
    			next++
    		}
    		goto exit
    	}
    
    	/*-style comment */
    	s.next()
    	for s.ch >= 0 {
    		ch := s.ch
    		if ch == '\r' {
    			numCR++
    		} else if ch == '\n' && nlOffset == 0 {
    			nlOffset = s.offset
    		}
    		s.next()
    		if ch == '*' && s.ch == '/' {
    			s.next()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/extract_outside_compilation.mlir

         // CHECK: "tf_device.parallel_execute"
         // CHECK-NEXT: "tf_device.launch"
         // CHECK-NEXT: "tf.B"
         // CHECK-NEXT: "tf.C"
         // CHECK-NEXT: "tf.D"
         // CHECK-NOT: _xla_outside_compilation
         // CHECK: "tf_device.cluster"
         // CHECK-NEXT: "tf.A"
         // CHECK-NEXT: "tf.E"
         // CHECK: device_assignment =  [], num_cores_per_replica = 1 : i64, topology =  ""
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 129.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/stringescape.mlir

    // RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s
    
    func.func @main() {
    ^bb0:
      // CHECK:      key: "listvalue"
      // CHECK-NEXT: value {
      // CHECK-NEXT:   list {
      // CHECK-NEXT:     s: " \n"
      // CHECK-NEXT:   }
      // CHECK:      key: "value"
      // CHECK-NEXT: value {
      // CHECK-NEXT:   s: " 0\n\000\000"
      tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 556 bytes
    - Viewed (0)
  7. src/encoding/json/bench_test.go

    		codeInit()
    		b.StartTimer()
    	}
    
    	// Trigger an error in Marshal with cyclic data.
    	type Dummy struct {
    		Name string
    		Next *Dummy
    	}
    	dummy := Dummy{Name: "Dummy"}
    	dummy.Next = &dummy
    
    	b.RunParallel(func(pb *testing.PB) {
    		enc := NewEncoder(io.Discard)
    		for pb.Next() {
    			if err := enc.Encode(&codeStruct); err != nil {
    				b.Fatalf("Encode error: %v", err)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:00:17 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/graph-resource.pbtxt

    # CHECK-NEXT:    %[[ARG1]] = f32[2]{0} parameter(1)
    # CHECK-NEXT:    %[[ARG0]] = f32[2]{0} parameter(0)
    # CHECK-NEXT:    ROOT %tuple.{{[0-9]+}} = (f32[2]{0}) tuple(f32[2]{0} %[[ARG0]])
    # CHECK-NEXT:  }
    
    # CHECK:       // InputMapping {0, 1}
    # CHECK-NEXT:  // XlaInputShape f32[2]
    # CHECK-NEXT:  // XlaInputShape f32[2]
    # CHECK-NEXT:  // XlaOutputShape (f32[2])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 15 06:15:50 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  9. test/fixedbugs/issue52788a.go

    import (
    	"fmt"
    	"reflect"
    	"os"
    )
    
    func f(next func() bool) {
    	for b := next(); b; b = next() {
    		fmt.Printf("%v\n", b)
    		os.Exit(0)
    	}
    }
    
    func main() {
    	next := reflect.MakeFunc(reflect.TypeOf((func() bool)(nil)), func(_ []reflect.Value) []reflect.Value {
    		return []reflect.Value{reflect.ValueOf(true)}
    	})
    	reflect.ValueOf(f).Call([]reflect.Value{next})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 09 17:29:53 UTC 2022
    - 600 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-tfl-stablehlo-pad.mlir

        }
      }
    
    // CHECK:       module {
    // CHECK-NEXT:    func @main(%arg0: tensor<8x128xf32>, %arg1: tensor<f32>) -> tensor<11x131xf32> {
    // CHECK-NEXT:      %0 = stablehlo.pad %arg0, %arg1, low = [1, 0], high = [2, 3], interior = [0, 0] : (tensor<8x128xf32>, tensor<f32>) -> tensor<11x131xf32>
    // CHECK-NEXT:      return %0 : tensor<11x131xf32>
    // CHECK-NEXT:    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Dec 11 20:41:19 UTC 2023
    - 939 bytes
    - Viewed (0)
Back to top