apple / apple/coremltools

NotImplementedError: Conversion for TF op 'Bucketize' not implemented.

Open
#1,146 1 comment 0 reactions 0 assignees View on GitHub
missing layer type question tf2.x / tf.keras
Dominant language
Python
Stars
5.4k
Forks
850
Avg merge
4d 5h
Merged PRs (30d)
10

Description

## ❓Question
Error encountered while converting the TensorFlow model to CoreML model:
NotImplementedError: Conversion for TF op 'Bucketize' not implemented.

TensorFlow uses the following code for training:

numeric_column = tf. Feature_column. Numeric_column (col)
buket_col = tf. Feature_column. Bucketized_column (numeric_column, boundary_dict [col])
embedding_column = tf.feature_column. Embedding_column (buket_col, K + 1)

How do I skip support for bucketized_column?

## System Information
- If applicable

Contributor guide

Open the contributing guide

Research direction

The report concerns TensorFlow-to-Core ML conversion of the Bucketize operation, but names no repository files, tests, or entry points. Start by locating the conversion handling for TensorFlow operations and reproduce the reported model conversion. Done would require a documented workaround or decided implementation scope for Bucketize support.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.