Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for mat_mul (0.17 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

          ]
      )
      def matmul(self, matmul_input: core.Tensor) -> Mapping[str, core.Tensor]:
        """Performs a matrix multiplication.
    
        Args:
          matmul_input: Input tensor to matmul with the filter.
    
        Returns:
          A map of: output key -> output result.
        """
        out = math_ops.matmul(matmul_input, self.matmul_filters)
    
        return {'output': out}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

    }
    
    func.func @matmul(%arg0: tensor<40x37xf32>, %arg1: tensor<37x40xf32>) -> tensor<40x40xf32> {
      %0 = "tf.MatMul"(%arg0, %arg1) {T = "tfdtype$DT_FLOAT", device = "/device:CPU:0", name = "MatMul", transpose_a = false, transpose_b = false} :
    (tensor<40x37xf32>, tensor<37x40xf32>) -> tensor<40x40xf32>
      func.return %0 : tensor<40x40xf32>
    // CHECK-LABEL: matmul
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

      auto matmul = rewriter.create<TF::BatchMatMulV3Op>(
          loc, RankedTensorType::get(matmul_shape, result_type.getElementType()),
          lhs_flattend, rhs_flattend);
    
      if (result_type.hasStaticShape()) {
        auto reshaped =
            rewriter.create<mhlo::ReshapeOp>(loc, result_type, matmul.getResult());
        return reshaped.getResult();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        ```
    
        The pass also works across control flow and functional calls.
      }];
    }
    
    
    
    def UnrollBatchMatMulPass : Pass<"tf-unroll-batch-matmul", "mlir::func::FuncOp"> {
      let summary = "Unroll TF BatchMatMul op into Reshape, Slice, MatMul, Pack ops.";
      let constructor = "TF::CreateUnrollBatchMatMulPassPass()";
    }
    
    def ClusterFormationPass : Pass<"tf-device-cluster-formation", "mlir::ModuleOp"> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/package-lock.json

            "node": ">=8"
          },
          "funding": {
            "url": "https://github.com/sponsors/sindresorhus"
          }
        },
        "node_modules/mathml-tag-names": {
          "version": "2.1.3",
          "resolved": "https://registry.npmjs.org/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz",
          "integrity": "sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg==",
          "dev": true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 156K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

              UniformQuantizedStableHloToTflPass> {
     private:
      void runOnOperation() override;
    };
    
    // TODO: b/323645515 - Refactor reference functions.
    // Bias scales for matmul-like ops should be input scale * filter scale. Here it
    // is assumed that the input is per-tensor quantized and filter is per-channel
    // quantized.
    SmallVector<double> GetBiasScales(const double input_scale,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        if (fc_op.getFusedActivationFunction() != "NONE") return failure();
    
        // Only fuse multiplier if all dimensions other than the depth dimension
        // are equal to 1 since otherwise
        // `matmul(x, filter) * cst != matmul(x, filter * cst)`
        // even if `filter` and `cst` are be broadcastable.
        auto shape = cst.getType().getShape();
        if (!IsDimensionsDegenerateExceptLastOne(shape)) return failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      func.return %0: tensor<2x3x7xf32>
    }
    
    // CHECK-LABEL: testBatchMatMulToMatMul
    func.func @testBatchMatMulToMatMul(%arg0: tensor<2x3xf32>, %arg1: tensor<3x2xf32>) -> tensor<2x2xf32> {
      // CHECK: %0 = "tf.MatMul"(%arg0, %arg1) <{grad_a = false, grad_b = false, transpose_a = false, transpose_b = false}> {device = "/job:localhost/replica:0/task:0/device:GPU:0"} : (tensor<2x3xf32>, tensor<3x2xf32>) -> tensor<2x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
Back to top