Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 353 for Tperm (0.14 sec)

  1. tensorflow/compiler/jit/force_xla_constants_on_host_pass_test.cc

      FunctionLibraryDefinition flib_def(OpRegistry::Global(), library);
      Output in = ops::Placeholder(root, DT_FLOAT);
      Output perm = ops::Const(root, {3, 1, 2, 0});
    
      NameAttrList b_name_attr;
      b_name_attr.set_name("TransposeCall");
      ops::PartitionedCall call(root.WithOpName("call"), {in, perm}, {DT_FLOAT},
                                b_name_attr);
      call.output.front().node()->AddAttr(kXlaMustCompileAttr, true);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

      // expected-error @+1 {{expected perm to be a 1-D Tensor, got perm of rank 2}}
      %0 = "tf.Transpose"(%arg0, %arg1) {T = "tfdtype$DT_FLOAT", Tperm = "tfdtype$DT_INT32"} : (tensor<2x3xf32>, tensor<1x2xi32>) -> tensor<3x2xf32>
      func.return %0 : tensor<3x2xf32>
    }
    
    // -----
    
    // Test tf.Transpose with invalid size of perm
    func.func @testTranspose(tensor<2x3xf32>) -> tensor<3x2xf32> {
    ^bb0(%arg0: tensor<2x3xf32>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  4. src/crypto/aes/gcm_ppc64x.s

    	ADD    $0x40, INP, INP
    #ifdef GOARCH_ppc64le
    	VPERM  IN0, IN0, LEMASK, IN0
    	VPERM  IN1, IN1, LEMASK, IN1
    	VPERM  IN2, IN2, LEMASK, IN2
    	VPERM  IN3, IN3, LEMASK, IN3
    #endif
    
    	VXOR IN0, XL, XH
    
    	VPMSUMD IN1, H3L, XL1
    	VPMSUMD IN1, H3, XM1
    	VPMSUMD IN1, H3H, XH1
    
    	VPERM   H2, H, HIPERM, H21L
    	VPERM   IN2, IN3, LOPERM, T0
    	VPERM   H2, H, LOPERM, H21H
    	VPERM   IN2, IN3, HIPERM, T1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  5. src/os/error_unix_test.go

    		isPermissionTest{err: &fs.PathError{Err: syscall.EACCES}, want: true},
    		isPermissionTest{err: &fs.PathError{Err: syscall.EPERM}, want: true},
    		isPermissionTest{err: &fs.PathError{Err: syscall.EEXIST}, want: false},
    
    		isPermissionTest{err: &os.LinkError{Err: syscall.EACCES}, want: true},
    		isPermissionTest{err: &os.LinkError{Err: syscall.EPERM}, want: true},
    		isPermissionTest{err: &os.LinkError{Err: syscall.EEXIST}, want: false},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. 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)
  7. src/math/rand/example_test.go

    	show("Int31n(10)", r.Int31n(10), r.Int31n(10), r.Int31n(10))
    	show("Int63n(10)", r.Int63n(10), r.Int63n(10), r.Int63n(10))
    
    	// Perm generates a random permutation of the numbers [0, n).
    	show("Perm", r.Perm(5), r.Perm(5), r.Perm(5))
    	// Output:
    	// Float32     0.2635776           0.6358173           0.6718283
    	// Float64     0.628605430454327   0.4504798828572669  0.9562755949377957
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 16:24:57 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/clone_constants_for_better_clustering_test.cc

      Output perm = ops::Const(on_cpu.WithOpName("perm"), {3, 1, 2, 0});
    
      {
        Output tr0 = ops::Transpose(on_gpu.WithOpName("tr0"), in0, perm);
        Output tr1 = ops::Transpose(on_gpu.WithOpName("tr1"), in1, perm);
      }
    
      Output in_place_add =
          ops::InplaceAdd(on_cpu.WithOpName("tr0"), perm,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/internal/bootstrap_test/overlaydir_test.go

    			suffix = suffix[1:]
    		}
    		dstPath := filepath.Join(dstRoot, suffix)
    
    		info, err := entry.Info()
    		perm := info.Mode() & os.ModePerm
    		if info.Mode()&os.ModeSymlink != 0 {
    			info, err = os.Stat(srcPath)
    			if err != nil {
    				return err
    			}
    			perm = info.Mode() & os.ModePerm
    		}
    
    		// Always make copies of directories.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:35:05 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top