- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 385 for Tperm (0.03 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/transpose-op.mlir
%1 = "tf.Const"() {value = dense<[0, 0x4141, 3, 1]> : tensor<4xi32>} : () -> tensor<4xi32> %2 = "tf.Transpose"(%arg0, %0) : (tensor<1x4x4x8xf32>, tensor<4xi32>) -> tensor<1x8x4x4xf32> // expected-error @+1 {{'tf.Transpose' op perm[1]=16705 must be in range [-4, 4)}} %3 = "tf.Transpose"(%2, %1) : (tensor<1x8x4x4xf32>, tensor<4xi32>) -> tensor<1x4x4x8xf32> func.return %3 : tensor<1x4x4x8xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 23 05:52:37 UTC 2023 - 634 bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/utils.h
for (int32_t idx = 0; idx < perm1_const.getNumElements(); ++idx) { initial_permutation.push_back(idx); } for (auto perm : perm2_const.getValues<APInt>()) { new_permutation.push_back( initial_permutation[perm1_const .getValues<APInt>()[perm.getSExtValue()] .getSExtValue()]); } } return mlir::DenseElementsAttr::get(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 11.6K bytes - Viewed (0) -
src/syscall/tables_wasip1.go
ENOTRECOVERABLE Errno = 56 ENOTSOCK Errno = 57 ENOTSUP Errno = 58 ENOTTY Errno = 59 ENXIO Errno = 60 EOVERFLOW Errno = 61 EOWNERDEAD Errno = 62 EPERM Errno = 63 EPIPE Errno = 64 EPROTO Errno = 65 EPROTONOSUPPORT Errno = 66 EPROTOTYPE Errno = 67 ERANGE Errno = 68 EROFS Errno = 69 ESPIPE Errno = 70
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 20:58:35 UTC 2023 - 6.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/bench_test.go
//go:noinline func fn(a, b int) bool { c := false if a > 0 { if b < 0 { d = d + 1 } c = true } return c } func BenchmarkPhioptPass(b *testing.B) { for i := 0; i < b.N; i++ { a := rand.Perm(i/10 + 10) for i := 1; i < len(a)/2; i++ { fn(a[i]-a[i-1], a[i+len(a)/2-2]-a[i+len(a)/2-1]) } } } type Point struct { X, Y int } //go:noinline func sign(p1, p2, p3 Point) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 02:36:06 UTC 2023 - 835 bytes - Viewed (0) -
src/os/removeall_at.go
} // EISDIR means that we have a directory, and we need to // remove its contents. // EPERM or EACCES means that we don't have write permission on // the parent directory, but this entry might still be a directory // whose contents need to be removed. // Otherwise just return the error. if err != syscall.EISDIR && err != syscall.EPERM && err != syscall.EACCES { return &PathError{Op: "unlinkat", Path: base, Err: err} } uErr := err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:26 UTC 2024 - 4.8K bytes - Viewed (0) -
src/cmd/gofmt/gofmt_unix_test.go
"strings" "testing" "time" ) func TestPermissions(t *testing.T) { if os.Getuid() == 0 { t.Skip("skipping permission test when running as root") } dir := t.TempDir() fn := filepath.Join(dir, "perm.go") // Create a file that needs formatting without write permission. if err := os.WriteFile(filepath.Join(fn), []byte(" package main"), 0o400); err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 18 12:52:14 UTC 2023 - 1.4K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_unsupported.go
return subPath.Path, nil, errUnsupported } func (sp *subpath) CleanSubPaths(podDir string, volumeName string) error { return errUnsupported } func (sp *subpath) SafeMakeDir(pathname string, base string, perm os.FileMode) error { return errUnsupported
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h
return transpose_op.emitOpError( "perm tensor elements size is not equal to input tensor rank"); } } // Get permutation axes of the TransposeOp DenseIntElementsAttr perm; if (!matchPattern(transpose_op.getPerm(), m_Constant(&perm))) { return failure(); } SmallVector<int64_t, 4> axes; for (const auto& axis_int : perm.getValues<APInt>()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 28K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_permissions.txt
func main() { for _, name := range []string{"go.mod", "go.sum"} { fi, err := os.Stat(name) if err != nil { fmt.Fprintf(os.Stderr, "%s: %v\n", err) continue } fmt.Printf("%s: 0%o\n", name, fi.Mode().Perm()) } } -- go.mod -- module TODO go 1.14 -- go.sum -- -- go.mod.want -- module golang.org/issue/34634 go 1.14 require rsc.io/sampler v1.99.99 -- go.sum.want --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 1.2K bytes - Viewed (0) -
src/math/rand/v2/race_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 30 14:31:46 UTC 2023 - 1005 bytes - Viewed (0)