Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for genPerm (0.23 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize.cc

          if (axis != i / 2) return failure();
          ++i;
        }
    
        // Check whether first tranpose's perm has [2, 1, 0, 3].
        DenseIntElementsAttr perm;
        if (!matchPattern(transpose_first.getPerm(), m_Constant(&perm)))
          return failure();
        SmallVector<int64_t, 4> axes;
        for (const auto &axis_int : perm.getValues<APInt>()) {
          axes.push_back(axis_int.getSExtValue());
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  2. cluster/gce/util.sh

        # create the kubelet client cert with the correct groups
        echo '{"CN":"kubelet","names":[{"O":"system:nodes"}],"hosts":[""],"key":{"algo":"rsa","size":2048}}' | "${CFSSL_BIN}" gencert -ca=pki/ca.crt -ca-key=pki/private/ca.key -config=ca-config.json - | "${CFSSLJSON_BIN}" -bare kubelet
        mv "kubelet-key.pem" "pki/private/kubelet.key"
        mv "kubelet.pem" "pki/issued/kubelet.crt"
        rm -f "kubelet.csr"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

          }
        }
      }
    
      // Permutations defined by constant operations.
      DenseIntElementsAttr perm0;
      DenseIntElementsAttr perm1;
      if (!matchPattern(op.getPerm(), m_Constant(&perm0)) ||
          !matchPattern(transpose.getPerm(), m_Constant(&perm1)))
        return {};
    
      // With permutation indices that cancel each other
      if (!AreCancellablePermutations(perm0, perm1)) return {};
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

    }
    
    mlir::LogicalResult TransposeOp::verify() {
      TransposeOp op = *this;
      auto input_type = op.getInput().getType().cast<ShapedType>();
      auto perm_type = op.getPerm().getType().cast<ShapedType>();
      auto output_type = op.getOutput().getType().cast<ShapedType>();
      if (input_type.hasStaticShape() && perm_type.hasStaticShape()) {
        if (perm_type.getNumElements() != input_type.getRank()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top