Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 654 for afunc (0.05 sec)

  1. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc

          return %2 : tensor<?x2xf32>
        }
        func.func private @composite_fn_1(%arg0: tensor<?x2xf32>, %arg1: tensor<2x2xf32>, %arg2: tensor<2xf32>) -> tensor<?x2xf32> attributes {_from_xla_call_module, tf_quant.composite_function} {
          return %arg0 : tensor<?x2xf32>
        }
      }
    )mlir";
    
    constexpr absl::string_view kModuleDotWeightOnlyPtq = R"mlir(
      module {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/const_tensor.mlir

      func.return %0, %1 : tensor<0x!tf_type.string>, tensor<7x!tf_type.string>
    }
    
    // Convert tf.Const to tfrt_fallback_async.const_dense_tensor only on cpu device
    // CHECK-LABEL: func @dense_tensor
    func.func @dense_tensor() -> tensor<4xui64> {
      // CHECK: tfrt_fallback_async.const_dense_tensor dense<[1, 2, 3, 4]> : tensor<4xui64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 00:40:32 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. pkg/probe/exec/exec_test.go

    func (f *FakeCmd) SetStderr(out io.Writer) {
    	f.writer = out
    }
    
    func (f *FakeCmd) SetEnv(env []string) {}
    
    func (f *FakeCmd) Stop() {}
    
    func (f *FakeCmd) Start() error {
    	if f.writer != nil {
    		f.writer.Write(f.out)
    		return f.err
    	}
    	return f.err
    }
    
    func (f *FakeCmd) Wait() error { return nil }
    
    func (f *FakeCmd) StdoutPipe() (io.ReadCloser, error) {
    	return nil, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. pkg/kube/krt/static.go

    }
    
    func (s *staticList[T]) List() []T {
    	return maps.Values(s.vals)
    }
    
    func (s *staticList[T]) Register(f func(o Event[T])) Syncer {
    	return registerHandlerAsBatched(s, f)
    }
    
    func (s *staticList[T]) Synced() Syncer {
    	return alwaysSynced{}
    }
    
    func (s *staticList[T]) RegisterBatch(f func(o []Event[T], initialSync bool), runExistingState bool) Syncer {
    	if runExistingState {
    		f(slices.Map(s.List(), func(e T) Event[T] {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/dra/plugin/client_test.go

    		t.Errorf("expected counter to be 2 but got %d", counter)
    	}
    }
    
    func TestNewDRAPluginClient(t *testing.T) {
    	for _, test := range []struct {
    		description string
    		setup       func(string) tearDown
    		pluginName  string
    		shouldError bool
    	}{
    		{
    			description: "plugin name is empty",
    			setup: func(_ string) tearDown {
    				return func() {}
    			},
    			pluginName:  "",
    			shouldError: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 16:27:05 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewrite.go

    func nlz32(x int32) int { return bits.LeadingZeros32(uint32(x)) }
    func nlz16(x int16) int { return bits.LeadingZeros16(uint16(x)) }
    func nlz8(x int8) int   { return bits.LeadingZeros8(uint8(x)) }
    
    // ntzX returns the number of trailing zeros.
    func ntz64(x int64) int { return bits.TrailingZeros64(uint64(x)) }
    func ntz32(x int32) int { return bits.TrailingZeros32(uint32(x)) }
    func ntz16(x int16) int { return bits.TrailingZeros16(uint16(x)) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  7. pkg/volume/noop_expandable_plugin.go

    }
    
    func (n *noopExpandableVolumePluginInstance) GetVolumeName(spec *Spec) (string, error) {
    	return n.spec.Name(), nil
    }
    
    func (n *noopExpandableVolumePluginInstance) CanSupport(spec *Spec) bool {
    	return true
    }
    
    func (n *noopExpandableVolumePluginInstance) RequiresRemount(spec *Spec) bool {
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. src/runtime/hash_test.go

    type BytesKey struct {
    	b []byte
    }
    
    func (k *BytesKey) clear() {
    	clear(k.b)
    }
    func (k *BytesKey) random(r *rand.Rand) {
    	randBytes(r, k.b)
    }
    func (k *BytesKey) bits() int {
    	return len(k.b) * 8
    }
    func (k *BytesKey) flipBit(i int) {
    	k.b[i>>3] ^= byte(1 << uint(i&7))
    }
    func (k *BytesKey) hash() uintptr {
    	return BytesHash(k.b, 0)
    }
    func (k *BytesKey) name() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. src/syscall/fs_wasip1.go

    	return errnoErr(errno)
    }
    
    func Chmod(path string, mode uint32) error {
    	var stat Stat_t
    	return Stat(path, &stat)
    }
    
    func Fchmod(fd int, mode uint32) error {
    	var stat Stat_t
    	return Fstat(fd, &stat)
    }
    
    func Chown(path string, uid, gid int) error {
    	return ENOSYS
    }
    
    func Fchown(fd int, uid, gid int) error {
    	return ENOSYS
    }
    
    func Lchown(path string, uid, gid int) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  10. test/codegen/bits.go

    // mask contiguous zero bits
    func cont0Mask64U(x uint64) uint64 {
    	// s390x:"RISBGZ\t[$]48, [$]15, [$]0,"
    	return x & 0xffff00000000ffff
    }
    
    func issue44228a(a []int64, i int) bool {
    	// amd64: "BTQ", -"SHL"
    	return a[i>>6]&(1<<(i&63)) != 0
    }
    func issue44228b(a []int32, i int) bool {
    	// amd64: "BTL", -"SHL"
    	return a[i>>5]&(1<<(i&31)) != 0
    }
    
    func issue48467(x, y uint64) uint64 {
    	// arm64: -"NEG"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top