class_docstr: Euclidean metric on matrices given by Frobenius inner-product.
class_docstr_tok: ["Euclidean","metric","on","matrices","given","by","Frobenius","inner-product","."]
docstr: Compute Frobenius inner-product of two tangent vectors.
  
  Parameters
  ----------
  tangent_vec_a : array-like, shape=[..., m, n]
      Tangent vector.
  tangent_vec_b : array-like, shape=[..., m, n]
      Tangent vector.
  base_point : array-like, shape=[..., m, n]
      Base point.
      Optional, default: None.
  
  Returns
  -------
  inner_prod : array-like, shape=[...,]
      Frobenius inner-product of tangent_vec_a and tangent_vec_b.
docstr_tok: ["Compute","Frobenius","inner-product","of","two","tangent","vectors",".","Parameters","--","--","--","--","--","tangent_vec_a",":","array-like",",","shape=","[","...",",","m",",","n","]","Tangent","vector",".","tangent_vec_b",":","array-like",",","shape=","[","...",",","m",",","n","]","Tangent","vector",".","base_point",":","array-like",",","shape=","[","...",",","m",",","n","]","Base","point",".","Optional",",","default",":","None",".","Returns","--","--","--","-","inner_prod",":","array-like",",","shape=","[","...",",","]","Frobenius","inner-product","of","tangent_vec_a","and","tangent_vec_b","."]
code: def inner_product(
      self, tangent_vec_a, tangent_vec_b, base_point=None
  ):
      """Compute Frobenius inner-product of two tangent vectors.
  
      Parameters
      ----------
      tangent_vec_a : array-like, shape=[..., m, n]
          Tangent vector.
      tangent_vec_b : array-like, shape=[..., m, n]
          Tangent vector.
      base_point : array-like, shape=[..., m, n]
          Base point.
          Optional, default: None.
  
      Returns
      -------
      inner_prod : array-like, shape=[...,]
          Frobenius inner-product of tangent_vec_a and tangent_vec_b.
      """
      inner_prod = Matrices.frobenius_product(
          tangent_vec_a, tangent_vec_b
      )
      return repeat_out(
          self._space.point_ndim,
          inner_prod,
          tangent_vec_a,
          tangent_vec_b,
          base_point,
      )
  
imports: import logging
  import math
  from functools import reduce
  import geomstats.backend
  import geomstats.errors
  from geomstats.algebra_utils import flip_determinant, from_vector_to_diagonal_matrix
  from geomstats.geometry.base import MatrixVectorSpace
  from geomstats.geometry.euclidean import EuclideanMetric
  from geomstats.vectorization import repeat_out
label_desc: Use image node_id 1 for calling the MatricesMetric obj's underlying member method code with example usage: obj.inner_product(tangent_vec_a, tangent_vec_b, base_point) and returns: repeat_out