Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for mat_mul (0.22 sec)

  1. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      // done in parallel.
      //
      // This graph is:
      // (Const0, Const0) -> MatMul0
      // (Const1, Const1) -> MatMul1
      // (MatMul0, MatMul1) -> MatMulCombined
      //
      // Device0: [Const0, Const0, MatMul0]
      // Device1: [Const1, Const1, MatMul1, MatMulCombined]
      //
      // Cluster0: [Const0, Const0, MatMul0]
      // Cluster1: [Const1, Const1, MatMul1]
      // Cluster2: [MatMulCombined]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/add_dump_tensor_op.mlir

    // IntPerLayer-DAG: "tf.DumpTensor"(%[[m0_1]]) <{enabled = true, file_name = "unquantized_tensor_data.pb", func_name = "matmul2", log_dir_path = "/tmp/dumps/composite_matmul_fn_2", node_name = "MatMul"}> : (tensor<2x2xf32>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/unroll_batch_matmul.cc

                                                    /*transpose_b=*/op.getAdjY());
        matmuls.emplace_back(matmul.getProduct());
      }
    
      // Combine the result of each individual MatMul into a rank-3 tensor.
      Type packed_type = RankedTensorType::get(
          {bcast.output_batch_size(), rows, cols}, element_type);
      const auto axis = rewriter.getI64IntegerAttr(0);
      auto pack_op =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/matmul.mlir

    Christian Sigg <******@****.***> 1714640622 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_activity_listener_test.cc

          "/job:localhost/replica:0/task:0/device:CPU:0");
      Output a = ops::Placeholder(root.WithOpName("A"), DT_FLOAT);
      for (int i = 0; i < 5; i++) {
        a = ops::MatMul(root.WithOpName(absl::StrCat("matmul_", i)), a, a);
        a = ops::Add(root.WithOpName(absl::StrCat("add_", i)), a, a);
      }
    
      GraphDef graph_def;
      root.graph()->ToGraphDef(&graph_def);
      return graph_def;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_test.cc

                                       "gradients/MatMul", false, true);
        TF_Operation* matmul2 = MatMul(expected_graph_, s_, const0, const3,
                                       "gradients/MatMul_1", true, false);
        expected_grad_outputs[0] = {matmul1, 0};
        expected_grad_outputs[1] = {matmul2, 0};
      }
    
      TF_Tensor* FloatTensor2x2(const float* values) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/end2end/unroll_batch_matmul_disabled.pbtxt

    # RUN: tf_tfl_translate -unfold_batchmatmul=false -tf-input-arrays=Placeholder,Placeholder_1 -tf-input-shapes=2,5,3:3,7 -tf-input-data-types=DT_FLOAT,DT_FLOAT -tf-output-arrays=MatMul -output-mlir %s -o - 2>&1 | FileCheck %s
    
    node {
      name: "Placeholder"
      op: "Placeholder"
      attr {
        key: "dtype"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "shape"
        value {
          shape {
            dim {
              size: 2
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc

        }
        // FusedMatMul kernel does not support grad_a/grad_b attrs
        if ((matmul->hasAttr("grad_a") &&
             mlir::cast<BoolAttr>(matmul->getAttr("grad_a")).getValue()) ||
            (matmul->hasAttr("grad_b") &&
             mlir::cast<BoolAttr>(matmul->getAttr("grad_b")).getValue())) {
          (void)rewriter.notifyMatchFailure(matmul, [&](Diagnostic &diag) {
            diag << "FusedMatMul kernel does not support grad_a/grad_b attrs";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/gradients/math_grad.cc

        std::string name_grad_B = "MatMul_Grad_B";
        if (!t_a && !t_b) {
          TF_RETURN_IF_ERROR(MatMul(ctx, upstream_grad, B.get(), &matmul_A_output,
                                    /*transpose_a = */ false,
                                    /*transpose_b = */ true, name_grad_A.c_str()));
    
          TF_RETURN_IF_ERROR(MatMul(ctx, A.get(), upstream_grad, &matmul_B_output,
                                    /*transpose_a = */ true,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_drq.mlir

    // RUN: tf-quant-opt %s -split-input-file -quant-lift-quantizable-spots-as-functions -quant-prepare-quantize-drq -quant-quantize='weight-quantization=true' -verify-each=false | FileCheck %s
    
    // -----
    
    module {
      func.func @matmul(%arg0: tensor<1x2x2x3xf32>) -> (tensor<*xf32>) {
        %cst_0 = "tf.Const"() {value = dense<0.000000e+00> : tensor<2x1024xf32>} : () -> tensor<2x1024xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:32:28 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top