title: AttributeError: 'google.protobuf.pyext._message.RepeatedCompositeCo' object has no attribute 'append'
body: <p>I am building a transfer learning model on the MobileNetv2 pretrained model on Google Collab. Till yesterday, everything was fine. But, today, on executing</p>
  
  <pre><code>#Create the base model(feature_extractor) from the pre-trained model MobileNet V2
  _URL = "https://tfhub.dev/google/tf2-preview/mobilenet_v2/feature_vector/2"
  feature_extractor = hub.KerasLayer(_URL, input_shape=(_TARGET_SIZE, _TARGET_SIZE,3))
  </code></pre>
  
  <p>I get the error:</p>
  
  <pre><code>
  ---------------------------------------------------------------------------
  AttributeError                            Traceback (most recent call last)
  &lt;ipython-input-29-663d4cbb70df&gt; in &lt;module&gt;()
        2 _TARGET_SIZE = 224
        3 _URL = "https://tfhub.dev/google/tf2-preview/mobilenet_v2/feature_vector/2"
  ----&gt; 4 feature_extractor = hub.KerasLayer(_URL, input_shape=(_TARGET_SIZE, _TARGET_SIZE,3))
        5 #print(feature_extractor._layers)
  
  
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/python/ops/resource_variable_ops.py in _variable_handle_from_shape_and_dtype(shape, dtype, shared_name, name, graph_mode, initial_value)
      165     handle_data = cpp_shape_inference_pb2.CppShapeInferenceResult.HandleData()
      166     handle_data.is_set = True
  --&gt; 167     handle_data.shape_and_type.append(
      168         cpp_shape_inference_pb2.CppShapeInferenceResult.HandleShapeAndType(
      169             shape=shape.as_proto(), dtype=dtype.as_datatype_enum))
  
  AttributeError: 'google.protobuf.pyext._message.RepeatedCompositeCo' object has no attribute 'append'
  </code></pre>
  
  <p>Any idea why this happens and do I need to get into the <strong>/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/ops/resource_variable_ops.py</strong> file and make some changes ? I think its related to some update issue. Any help on how to tackle it?</p>