Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Contraction (0.21 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc

        if (!isa<func::FuncOp, IfOp, WhileOp>(contraction->getParentOp())) {
          return rewriter.notifyMatchFailure(
              contraction,
              "fused operation must be nested inside a function, If or While");
        }
    
        // If the contraction is used in multiple places, fusing it will only create
        // more contraction nodes, which is slower.
        if (!contraction.getResult().hasOneUse())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/fold_broadcast.cc

            const int y_col =
                !matmul_op.getAdjY() ? shape_y.back() : *(shape_y.rbegin() + 1);
    
            // Checks that matrix multiply can perform a valid contraction.
            if (x_col != y_row) {
              result_shape.clear();
              return false;
            }
    
            result_shape.push_back(x_row);
            result_shape.push_back(y_col);
            return true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/mark_for_compilation_pass.cc

            //  c. There is no path from B to A in the cycles graph (but there may
            //     be a path from A to B).
            //
            // So check the legality of the edge contraction by checking if any of
            // the n^2 pairs of resource variable operations are forbidden.
            if (unsafe_resource_deps_.contains(
                    {resource_var_from, resource_var_to})) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      let hasVerifier = 1;
    }
    
    def TF_EinsumOp : TF_Op<"Einsum", [Pure]> {
      let summary = [{
    Tensor contraction according to Einstein summation convention.
      }];
    
      let description = [{
    Implements generalized Tensor contraction and reduction. Each input Tensor must
    have a corresponding input subscript appearing in the comma-separated left-hand
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  5. RELEASE.md

            `batch_dims` case.
        *   Removing of dtype in the constructor of initializers and partition_info
            in call.
        *   Add `tf.math.nextafter` op.
        *   Turn on MKL-DNN contraction kernels by default. MKL-DNN dynamically
            dispatches the best kernel implementation based on CPU vector
            architecture. To disable them, build with
            `--define=tensorflow_mkldnn_contraction_kernel=0`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
Back to top