Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 114 for Tperm (0.42 sec)

  1. tensorflow/compiler/mlir/lite/tests/legalize-tf-while.mlir

      %cst_2 = arith.constant dense<1> : tensor<i32>
      %0 = "tf.AddV2"(%arg2, %cst_2) {T = i32, device = ""} : (tensor<*xi32>, tensor<i32>) -> tensor<*xi32>
      %1 = "tf.Transpose"(%arg3, %cst) {T = f32, Tperm = i32, device = ""} : (tensor<*xf32>, tensor<2xi32>) -> tensor<?x?xf32>
      %2 = "tf.Rank"(%arg3) : (tensor<*xf32>) -> tensor<i32>
      %3 = "tf.Range"(%2, %cst_0, %cst_1) : (tensor<i32>, tensor<i32>, tensor<i32>) -> tensor<?xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize_layout.cc

          type.getShape(), isInvert ? invertPermutationVector(perm) : perm);
      return RankedTensorType::get(permutedShape, type.getElementType());
    }
    
    static RankedTensorType GetInvertPermutedTensorType(RankedTensorType type,
                                                        ArrayRef<int64_t> perm) {
      return GetPermutedTensorTypeHelper(type, perm, true /*isInvert*/);
    }
    
    static Value CreateTranspose(OpBuilder& builder, Value source,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/push-tpose-through-ewise.mlir

    // CHECK-LABEL: pushTposeAfterAddSimple
    func.func @pushTposeAfterAddSimple(%arg0: tensor<2x3x4x5xf32>) -> tensor<5x2x3x4xf32> {
      %perm = arith.constant dense<[3, 0, 1, 2]> : tensor<4xi32>
      %0 = "tfl.transpose"(%arg0, %perm) : (tensor<2x3x4x5xf32>, tensor<4xi32>) -> tensor<5x2x3x4xf32>
      %cst = arith.constant dense<1.0> : tensor<5x2x3x4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. src/math/rand/v2/regress_test.go

    	[]int{4, 2, 1, 3, 0},                // Perm(5)
    	[]int{0, 2, 3, 1, 5, 4, 6, 7},       // Perm(8)
    	[]int{2, 0, 8, 3, 4, 7, 6, 5, 1},    // Perm(9)
    	[]int{0, 6, 5, 3, 8, 4, 1, 2, 9, 7}, // Perm(10)
    	[]int{9, 14, 4, 11, 13, 8, 0, 6, 2, 12, 3, 7, 1, 10, 5, 15}, // Perm(16)
    	[]int{},                             // Perm(0)
    	[]int{0},                            // Perm(1)
    	[]int{2, 4, 0, 3, 1},                // Perm(5)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:03:11 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  5. src/crypto/aes/asm_ppc64x.s

    #define NEEDS_ESPERM
    #define P8_LXVB16X(RA,RB,VT) \
    	LXVD2X	(RA+RB), VT \
    	VPERM	VT, VT, ESPERM, VT
    
    #define P8_STXVB16X(VS,RA,RB) \
    	VPERM	VS, VS, ESPERM, TMP2 \
    	STXVD2X	TMP2, (RA+RB)
    
    #define XXBRD_ON_LE(VA,VT) \
    	VPERM	VA, VA, ESPERM, VT
    
    #  endif // defined(GOPPC64_power9)
    #else
    #define P8_LXVB16X(RA,RB,VT)  LXVD2X	(RA+RB), VT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/layout_optimization.cc

          ConstOp perm =
              dyn_cast_or_null<ConstOp>(transpose.getOperand(1).getDefiningOp());
          if (!perm) return;
    
          // With the same permutation indices.
          auto dense_elem_attr = mlir::dyn_cast<DenseElementsAttr>(perm.getValue());
          if (!dense_elem_attr) return;
    
          if (!permutation_op) permutation_op = perm;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  7. pkg/volume/emptydir/empty_dir.go

    		// the specific bits we need.
    		err := os.Chmod(dir, perm)
    		if err != nil {
    			return err
    		}
    
    		fileinfo, err = os.Lstat(dir)
    		if err != nil {
    			return err
    		}
    
    		if fileinfo.Mode().Perm() != perm.Perm() {
    			klog.Errorf("Expected directory %q permissions to be: %s; got: %s", dir, perm.Perm(), fileinfo.Mode().Perm())
    		}
    	}
    
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. src/os/path.go

    // along with any necessary parents, and returns nil,
    // or else returns an error.
    // The permission bits perm (before umask) are used for all
    // directories that MkdirAll creates.
    // If path is already a directory, MkdirAll does nothing
    // and returns nil.
    func MkdirAll(path string, perm FileMode) error {
    	// Fast path: if we can tell whether path is a directory or file, stop with success or error.
    	dir, err := Stat(path)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:09 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. pkg/file/file.go

    		return err
    	}
    	defer in.Close()
    
    	perm, err := in.Stat()
    	if err != nil {
    		return err
    	}
    
    	return AtomicWriteReader(filepath.Join(targetDir, targetFilename), in, perm.Mode())
    }
    
    func Copy(srcFilepath, targetDir, targetFilename string) error {
    	in, err := os.Open(srcFilepath)
    	if err != nil {
    		return err
    	}
    	defer in.Close()
    
    	perm, err := in.Stat()
    	if err != nil {
    		return err
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 11 21:42:29 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/prepare_patterns.td

    def ReorderTransposeDequantQuant :
          Pat<(TF_TransposeOp:$old_value
                  (TFL_DequantizeOp (TFL_QuantizeOp $input, $qtype)), $perm),
              (TFL_DequantizeOp (TFL_QuantizeOp
                                    (TF_TransposeOp $input, $perm),
                                    (UpdateShapeWithAxis<-1> $qtype, $old_value))),
              [(CanUpdateShapeWithAxis<-1> $qtype, $old_value)]>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top