{"record":{"id":"0f8c33329d81d8aa","repo":"tensorflow/models","slug":"fused-projection-is-not-supported","errorCode":null,"errorMessage":"Fused projection is not supported.","messagePattern":"Fused projection is not supported\\.","errorType":"exception","errorClass":"NotImplementedError","httpStatus":null,"severity":"error","filePath":"official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v2_model_blocks.py","lineNumber":858,"sourceCode":"    activation = tf_utils.get_activation(config.activation)\n    drop_connect_rate = config.drop_connect_rate\n    data_format = tf_keras.backend.image_data_format()\n    use_depthwise = block.conv_type == 'depthwise'\n    use_groupconv = block.conv_type == 'group'\n    prefix = prefix or ''\n    self.name = prefix\n    conv_kernel_initializer = (\n        config.conv_kernel_initializer if config.conv_kernel_initializer\n        is not None else CONV_KERNEL_INITIALIZER)\n\n    filters = block.input_filters * block.expand_ratio\n\n    self.expand_block: List[tf_keras.layers.Layer] = []\n    self.squeeze_excitation: List[tf_keras.layers.Layer] = []\n    self.project_block: List[tf_keras.layers.Layer] = []\n\n    if block.fused_project:\n      raise NotImplementedError('Fused projection is not supported.')\n\n    if block.fused_expand and block.expand_ratio != 1:\n      # If we use fused mbconv, fuse expansion with the main kernel.\n      # If conv_type is depthwise we still fuse it to a full conv.\n      if use_groupconv:\n        self.expand_block.append(groupconv2d_block(\n            filters,\n            config,\n            kernel_size=block.kernel_size,\n            strides=block.strides,\n            group_size=block.group_size,\n            activation=activation,\n            name=prefix + 'fused'))\n      else:\n        self.expand_block.extend(\n            conv2d_block_as_layers(\n                conv_filters=filters,\n                config=config,","sourceCodeStart":840,"sourceCodeEnd":876,"githubUrl":"https://github.com/tensorflow/models/blob/e006f5f0d534913e49c1f1dae87364039fa607e2/official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v2_model_blocks.py#L840-L876","documentation":"Error \"Fused projection is not supported.\" thrown in tensorflow/models.","triggerScenarios":"Thrown at official/projects/edgetpu/vision/modeling/mobilenet_edgetpu_v2_model_blocks.py:858 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e006f5f0d534913e49c1f1dae87364039fa607e2","analyzedAt":"2026-08-24T14:09:15.576Z","schemaVersion":2},"datasetVersion":"2026-08-24T17:17:21.512Z"}