Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for _einsum (0.32 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tf_xla_op_to_tf_op.cc

      }
    
      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<TF::TensorFlowDialect, arith::ArithDialect>();
      }
    
      void runOnOperation() override;
    };
    
    // Generate an einsum equation from the given DotDimensionNumber.
    std::string CreateEinsumEquation(
        const xla::DotDimensionNumbers& dot_dimension_numbers, const int lhs_rank,
        const int rhs_rank) {
      // Prepare necessary indices.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    std::unique_ptr<OperationPass<func::FuncOp>> CreateUnrollBatchMatMulPassPass();
    
    // Optional pass which will map TF BatchMatMul to TF Einsum
    std::unique_ptr<OperationPass<func::FuncOp>> CreateBatchMatMulToEinsumPass();
    
    // Pass that transform Einsum to other TF Ops for the supported variants.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateTransformEinsumPass();
    
    // Optimizes Tensorflow graph.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/tests/compose-uniform-quantized-type.mlir

        %16 = stablehlo.broadcast_in_dim %6, dims = [0, 1, 2] : (tensor<1x1x1xi32>) -> tensor<8x16x4xi32>
        %17 = stablehlo.subtract %15, %16 : tensor<8x16x4xi32>  // q2 - z2
        // Corresponds to einsum expression: b i j, b j d -> b i d
        %18 = stablehlo.dot_general %14, %17, batching_dims = [0] x [0], contracting_dims = [2] x [1] : (tensor<8x16x16xi32>, tensor<8x16x4xi32>) -> tensor<8x16x4xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 37K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc

    SmallVector<Value> AppendToVector(const ArrayRef<Value> arguments,
                                      Value append) {
      SmallVector<Value> ret(arguments);
      ret.push_back(append);
      return ret;
    }
    
    // Check if the given einsum equation is supported by XlaDotV2.
    // Conditions:
    // 1. Two inputs & one output.
    // 2. No ... in the equation.
    // 3. Batch dimensions should be the same, or only the left equation should have
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top