Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for _einsum (0.24 sec)

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

        )
        if use_kernel:
          model.einsum = model.einsum_with_kernel
          model_inputs = {'x': x}
        else:
          model.einsum = model.einsum_without_kernel
          model_inputs = {'x': x, 'y': y}
    
        saved_model_save.save(
            model, self._input_saved_model_path, signatures=model.einsum
        )
    
        signature_key = signature_constants.DEFAULT_SERVING_SIGNATURE_DEF_KEY
    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/tensorflow/transforms/tf_passes.td

        MLIR pipeline in the future.
      }];
      let constructor = "TF::CreateGpuOpFusionPass()";
    }
    
    def BatchMatMulToEinsumPass : Pass<"tf-batch-matmul-to-tf-einsum", "mlir::func::FuncOp"> {
      let summary = "Replace TF BatchMatMul op by TF Einsum op.";
      let constructor = "TF::CreateBatchMatMulToEinsumPass()";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

    // EinsumOp
    //===----------------------------------------------------------------------===//
    
    // Verifies that,
    // * Arity of the op is at most two.
    //
    // TODO(hinsu): Verify einsum equation attribute.
    LogicalResult EinsumOp::verify() {
      EinsumOp op = *this;
      if (op.getN() > 2) {
        return op.emitOpError("supports at most two operands");
      }
      return success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

      func.return %0 : tensor<?x10xf32>
    }
    
    // -----
    
    func.func @testTernaryEinsum(%arg0: tensor<2x3xf32>){
      // expected-error @+1 {{supports at most two operands}}
      %0 = "tf.Einsum"(%arg0, %arg0, %arg0) {equation = "ab,cd,ef->"} : (tensor<2x3xf32>, tensor<2x3xf32>, tensor<2x3xf32>) -> (tensor<*xf32>)
      func.return
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
Back to top