- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 112 for Tperm (0.04 sec)
-
tensorflow/compiler/mlir/lite/transforms/push_transpose_through_ewise.cc
tpose_arg_rank == 0)) { return failure(); } auto perm = llvm::dyn_cast_or_null<arith::ConstantOp>( tpose_arg.getPerm().getDefiningOp()); if (!perm) { return failure(); } auto perm_value = llvm::dyn_cast<DenseElementsAttr>(perm.getValue()).getValues<int32_t>(); llvm::SmallVector<int32_t> perm_arr(perm_value.begin(), perm_value.end());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.5K bytes - Viewed (0) -
pom.xml
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu May 30 06:49:02 UTC 2024 - 48.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/post_quantize.cc
auto output_type = mlir::cast<ShapedType>(op.getOutput().getType()); SmallVector<int32_t, 4> perm; SmallVector<int64_t, 4> output_shape; for (int i = 0; i < num_dimensions; ++i) { perm.push_back(perm_tensor.getValues<IntegerAttr>()[i].getInt()); output_shape.push_back(input_shape[perm[i]]); // Check that the derived output shape matches the static shape.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.1K bytes - Viewed (0) -
src/cmd/go/internal/work/shell.go
return sh.CopyFile(dst, src, perm, force) } } // The perm argument is meant to be adjusted according to umask, // but we don't know what the umask is. // Create a dummy file to find out. // This avoids build tags and works even on systems like Plan 9 // where the file mask computation incorporates other information. mode := perm
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 19.8K bytes - Viewed (0) -
src/io/ioutil/ioutil.go
// If the file does not exist, WriteFile creates it with permissions perm // (before umask); otherwise WriteFile truncates it before writing, without changing permissions. // // Deprecated: As of Go 1.16, this function simply calls [os.WriteFile]. func WriteFile(filename string, data []byte, perm fs.FileMode) error { return os.WriteFile(filename, data, perm) } // ReadDir reads the directory named by dirname and returns
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3.2K bytes - Viewed (0) -
pkg/apis/core/v1/defaults.go
func SetDefaults_SecretVolumeSource(obj *v1.SecretVolumeSource) { if obj.DefaultMode == nil { perm := int32(v1.SecretVolumeSourceDefaultMode) obj.DefaultMode = &perm } } func SetDefaults_ConfigMapVolumeSource(obj *v1.ConfigMapVolumeSource) { if obj.DefaultMode == nil { perm := int32(v1.ConfigMapVolumeSourceDefaultMode) obj.DefaultMode = &perm } } func SetDefaults_DownwardAPIVolumeSource(obj *v1.DownwardAPIVolumeSource) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 22:24:15 UTC 2024 - 14.8K bytes - Viewed (0) -
src/cmd/gofmt/gofmt.go
if *list { fmt.Fprintln(r, filename) } if *write { if info == nil { panic("-w should not have been allowed with stdin") } perm := info.Mode().Perm() if err := writeFile(filename, src, res, perm, info.Size()); err != nil { return err } } if *doDiff { newName := filepath.ToSlash(filename) oldName := newName + ".orig"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 15.1K bytes - Viewed (0) -
cmd/erasure-common.go
) func (er erasureObjects) getOnlineDisks() (newDisks []StorageAPI) { disks := er.getDisks() var wg sync.WaitGroup var mu sync.Mutex r := rand.New(rand.NewSource(time.Now().UnixNano())) for _, i := range r.Perm(len(disks)) { i := i wg.Add(1) go func() { defer wg.Done() if disks[i] == nil { return } di, err := disks[i].DiskInfo(context.Background(), DiskInfoOptions{})
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.6K 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/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)