class_docstr: Tests done in the base class NonSquareLinearOperatorDerivedClassTest.
class_docstr_tok: ["Tests","done","in","the","base","class","NonSquareLinearOperatorDerivedClassTest","."]
code: def operator_and_matrix(self, build_info, dtype, use_placeholder):
      shape_before_adjoint = list(build_info.shape)
      # We need to swap the last two dimensions because we are taking the adjoint
      # of this operator
      shape_before_adjoint[-1], shape_before_adjoint[-2] = (
          shape_before_adjoint[-2],
          shape_before_adjoint[-1],
      )
      matrix = linear_operator_test_util.random_normal(
          shape_before_adjoint, dtype=dtype
      )
  
      lin_op_matrix = matrix
  
      if use_placeholder:
          lin_op_matrix = array_ops.placeholder_with_default(
              matrix, shape=None
          )
  
      operator = LinearOperatorAdjoint(
          linalg.LinearOperatorFullMatrix(lin_op_matrix)
      )
  
      return operator, linalg.adjoint(matrix)
  
imports: import numpy
  from tensorflow.python.framework import config
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.ops.linalg import linalg
  from tensorflow.python.ops.linalg import linear_operator_adjoint
  from tensorflow.python.ops.linalg import linear_operator_test_util
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the LinearOperatorAdjointNonSquareTest obj's underlying member method code with example usage: obj.operator_and_matrix(build_info, dtype, use_placeholder) and returns: operator,  linalg