Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Contraction (0.13 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.h

    #include "tensorflow/core/framework/resource_mgr.h"
    
    namespace mlir {
    namespace TF {
    
    //===----------------------------------------------------------------------===//
    // TensorFlow Contraction Fusion.
    //===----------------------------------------------------------------------===//
    
    struct ContractionFusion {
      explicit ContractionFusion(
          StringRef output_kernel, ArrayRef<int> additional_arguments = {},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 03 19:26:14 UTC 2023
    - 6.5K 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/mlir/tensorflow/transforms/einsum.h

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "tensorflow/core/util/matmul_bcast.h"
    
    namespace mlir {
    namespace TF {
    
    // TF.Einsum provides fully general tensor contractions. For a few select
    // cases, we can convert this op to other TF Ops, which in later passes
    // properly convert to TF Lite ops.
    struct ConvertTFEinsumOp : public OpRewritePattern<TF::EinsumOp> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Dec 12 02:01:03 UTC 2020
    - 2.1K bytes
    - Viewed (0)
Back to top