title: How to import trained model without initializing weights
body: <p>I converted a EfficientNet model that was pretrained on ImageNet to tensorflow-js using the tensorflowjs-converter. When I try to load the model into my script, it tries to initialize the weights with initializers, that are not implemented in tfjs. However, it is not necessary to initialize the weights, as the model was pretrained and the weights were also converted. The converted model is here: 
  <a href="https://github.com/paulsp94/tfjs_efficientnet3_imagenet" rel="nofollow noreferrer">https://github.com/paulsp94/tfjs_efficientnet3_imagenet</a></p>
  
  <p>Here is a CodePen example of the problem: 
  <a href="https://codepen.io/paulsp94/pen/XLNdJq" rel="nofollow noreferrer">https://codepen.io/paulsp94/pen/XLNdJq</a></p>
  
  <pre><code>const start = async () =&gt; {
    efficientNetURL = 'https://raw.githubusercontent.com/paulsp94/tfjs_efficientnet3_imagenet/master/model.json';
  
    console.log("Load Model");
    let model;
    try {
      model = await tf.loadLayersModel(efficientNetURL, {strict: true});
      console.log(model.summary());
     } catch (error) {
       console.error(error);
     }
  };
  
  start()
  </code></pre>
  
  <p>You have to open the browser's console, to see the proper error.</p>
  
  <p>The error is:</p>
  
  <p>Error: "Unknown initializer: EfficientConv2DKernelInitializer. This may be due to one of the following reasons:
  1. The initializer is defined in Python, in which case it needs to be ported to TensorFlow.js or your JavaScript code.
  2. The custom initializer is defined in JavaScript, but is not registered properly with tf.serialization.registerClass()."</p>
  
  <p><strong>Update:</strong>
  While I could get around the initializers, by replacing all unknown initializers with e.g. Zeros initializer. I ran into another problem with the custom layers (Swish layer) which currently can't be resolved.</p>