Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 190 for asSlice (0.11 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize/quantize_same_scale.mlir

        // CHECK: %[[SLICE:.*]] = stablehlo.slice %[[CALL]] [1:3, 2:4] : (tensor<3x4x!quant.uniform<i8:f32, 0.13170163023705575:-1>>) -> tensor<2x2x!quant.uniform<i8:f32, 0.13170163023705575:-1>>
        // CHECK: %[[DQ:.*]] = "quantfork.dcast"(%[[SLICE]]) : (tensor<2x2x!quant.uniform<i8:f32, 0.13170163023705575:-1>>) -> tensor<2x2xf32>
        // CHECK: return %[[DQ]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  2. src/runtime/extern.go

    // directly is discouraged, as is using [FuncForPC] on any of the
    // returned PCs, since these cannot account for inlining or return
    // program counter adjustment.
    func Callers(skip int, pc []uintptr) int {
    	// runtime.callers uses pc.array==nil as a signal
    	// to print a stack trace. Pick off 0-length pc here
    	// so that we don't let a nil pc slice get to it.
    	if len(pc) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/build/relnote/relnote.go

    		panic(fmt.Sprintf("unknown block type %T", b))
    	}
    }
    
    // blocksText returns all the text in a slice of block nodes.
    func blocksText(bs []md.Block) string {
    	var d strings.Builder
    	for _, b := range bs {
    		io.WriteString(&d, text(b))
    		fmt.Fprintln(&d)
    	}
    	return d.String()
    }
    
    // inlineText returns all the next in a slice of inline nodes.
    func inlineText(ins []md.Inline) string {
    	var buf bytes.Buffer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/math/big/bits_test.go

    package big
    
    import (
    	"fmt"
    	"slices"
    	"testing"
    )
    
    // A Bits value b represents a finite floating-point number x of the form
    //
    //	x = 2**b[0] + 2**b[1] + ... 2**b[len(b)-1]
    //
    // The order of slice elements is not significant. Negative elements may be
    // used to form fractions. A Bits value is normalized if each b[i] occurs at
    // most once. For instance Bits{0, 0, 1} is not normalized but represents the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. pilot/pkg/model/telemetry_test.go

    						Providers: []*tpb.ProviderRef{{Name: "prometheus"}},
    					},
    				},
    			},
    			args: args{
    				other: nil,
    			},
    			want: false,
    		},
    		{
    			name: "different length in metrics slice comparison",
    			computedTelemetries: &computedTelemetries{
    				Metrics: []*tpb.Metrics{
    					{
    						Providers: []*tpb.ProviderRef{{Name: "prometheus"}},
    					},
    				},
    			},
    			args: args{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/preemption/preemption.go

    	nodeLister := ev.Handler.SnapshotSharedLister().NodeInfos()
    	if len(extenders) == 0 {
    		return candidates, nil
    	}
    
    	// Migrate candidate slice to victimsMap to adapt to the Extender interface.
    	// It's only applicable for candidate slice that have unique nominated node name.
    	victimsMap := ev.CandidatesToVictimsMap(candidates)
    	if len(victimsMap) == 0 {
    		return candidates, nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/unify.go

    			// assume they are the same to avoid spurious follow-on errors.
    			return (x.len < 0 || y.len < 0 || x.len == y.len) && u.nify(x.elem, y.elem, emode, p)
    		}
    
    	case *Slice:
    		// Two slice types unify if their element types unify.
    		if y, ok := y.(*Slice); ok {
    			return u.nify(x.elem, y.elem, emode, p)
    		}
    
    	case *Struct:
    		// Two struct types unify if they have the same sequence of fields,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  8. src/crypto/internal/bigmod/nat.go

    	limbs := n.Bits()
    	x.reset(len(limbs))
    	for i := range limbs {
    		x.limbs[i] = uint(limbs[i])
    	}
    	return x
    }
    
    // Bytes returns x as a zero-extended big-endian byte slice. The size of the
    // slice will match the size of m.
    //
    // x must have the same size as m and it must be reduced modulo m.
    func (x *Nat) Bytes(m *Modulus) []byte {
    	i := m.Size()
    	bytes := make([]byte, i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.td

        Arg<TF_StrTensor, [{shape {N}.  The names of the tensors to be restored. This is tensor name in the model.}]>:$tensor_names,
        Arg<TF_StrTensor, [{shape {N}.  The slice specs of the tensors to be restored.
    Empty strings indicate that they are non-partitioned tensors.}]>:$shape_and_slices,
        // VarHandles for restored tensors.
        Variadic<TF_Tensor>:$var_handles,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go

    	{107, "ENOTCONN", "transport endpoint is not connected"},
    	{108, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
    	{109, "ETOOMANYREFS", "too many references: cannot splice"},
    	{110, "ETIMEDOUT", "connection timed out"},
    	{111, "ECONNREFUSED", "connection refused"},
    	{112, "EHOSTDOWN", "host is down"},
    	{113, "EHOSTUNREACH", "no route to host"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top