{"record":{"id":"18ea38f0c25693b5","repo":"tensorflow/models","slug":"non-local-block-is-not-implemented-yet","errorCode":null,"errorMessage":"Non local block is not implemented yet.","messagePattern":"Non local block is not implemented yet\\.","errorType":"exception","errorClass":"NotImplementedError","httpStatus":null,"severity":"error","filePath":"official/projects/s3d/modeling/s3d.py","lineNumber":192,"sourceCode":"          norm_momentum=self._norm_momentum,\n          norm_epsilon=self._norm_epsilon,\n          kernel_initializer=self._kernel_initializer,\n          temporal_conv_initializer=self._temporal_conv_initializer,\n          kernel_regularizer=self._kernel_regularizer,\n          parameterized_conv_layer=self._get_parameterized_conv_layer_impl(),\n          name=self._get_layer_naming_fn()(end_point))(\n              net)\n    else:\n      net = tf_keras.layers.MaxPool3D(\n          pool_size=filters[0],  # pyrefly: ignore[bad-index]\n          strides=filters[1],  # pyrefly: ignore[bad-index]\n          padding='same',\n          name=self._get_layer_naming_fn()(end_point))(\n              net)\n    end_points[end_point] = net\n    if non_local_block:\n      # TODO(b/182299420): Implement non local block in TF2.\n      raise NotImplementedError('Non local block is not implemented yet.')\n    if attention_cell:\n      # TODO(b/182299420): Implement attention cell in TF2.\n      raise NotImplementedError('Attention cell is not implemented yet.')\n    if attention_cell_super_graph:\n      # TODO(b/182299420): Implement attention cell super graph in TF2.\n      raise NotImplementedError('Attention cell super graph is not implemented'\n                                ' yet.')\n    return net, end_points\n\n  def get_config(self):\n    config_dict = {\n        'input_specs': self._input_specs,\n        'final_endpoint': self._final_endpoint,\n        'first_temporal_kernel_size': self._first_temporal_kernel_size,\n        'temporal_conv_start_at': self._temporal_conv_start_at,\n        'gating_start_at': self._gating_start_at,\n        'swap_pool_and_1x1x1': self._swap_pool_and_1x1x1,\n        'gating_style': self._gating_style,","sourceCodeStart":174,"sourceCodeEnd":210,"githubUrl":"https://github.com/tensorflow/models/blob/e006f5f0d534913e49c1f1dae87364039fa607e2/official/projects/s3d/modeling/s3d.py#L174-L210","documentation":"Error \"Non local block is not implemented yet.\" thrown in tensorflow/models.","triggerScenarios":"Thrown at official/projects/s3d/modeling/s3d.py:192 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"}