class_docstr: Keras test
class_docstr_tok: ["Keras","test"]
docstr: test_forward_repeat_vector
docstr_tok: ["test_forward_repeat_vector"]
code: def test_forward_repeat_vector(self, keras_mod):
      """test_forward_repeat_vector"""
      data = keras_mod.layers.Input(shape=(5,), dtype="float32")
      x = keras_mod.layers.Dense(6)(data)
      x = keras_mod.layers.RepeatVector(2)(x)
  
      keras_model = keras_mod.models.Model(data, x)
      verify_keras_frontend(keras_model, need_transpose=False)
  
      data = keras_mod.layers.Input(shape=(10,), dtype="float32")
      x = keras_mod.layers.RepeatVector(3)(data)
      keras_model = keras_mod.models.Model(data, x)
      verify_keras_frontend(keras_model, need_transpose=False)
  
      data = keras_mod.layers.Input(shape=(4,), dtype="float32")
      x = keras_mod.layers.RepeatVector(1)(data)
      keras_model = keras_mod.models.Model(data, x)
      verify_keras_frontend(keras_model, need_transpose=False)
  
imports: from packaging import version
  import numpy
  from tensorflow import keras
  import keras
  import pytest
  import tvm
  from tvm import relay
  from tvm.contrib import graph_executor
  import tvm.testing
label_desc: Use image node_id 33 for calling the TestKeras obj's underlying member method code with example usage: obj.test_forward_repeat_vector(keras_mod) without return types