class_docstr: TransR model.
docstr: matmul_with_expend_dims
code: def matmul_with_expend_dims(x, y):
      """matmul_with_expend_dims"""
      x = fluid.layers.unsqueeze(x, axes=[1])
      res = fluid.layers.matmul(x, y)
      return fluid.layers.squeeze(res, axes=[1])
  
file_path: PGL/legacy/examples/pgl-ke/model/TransR.py
imports: import numpy
  import paddle.fluid
  from .Model import Model
  from .utils import lookup_table
label_desc: Use image node_id 4 for calling the TransR obj's underlying member method code with example usage: obj.matmul_with_expend_dims(x, y) and returns: fluid