diff options
Diffstat (limited to 'tensorflow/contrib/lite/builtin_op_data.h')
-rw-r--r-- | tensorflow/contrib/lite/builtin_op_data.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tensorflow/contrib/lite/builtin_op_data.h b/tensorflow/contrib/lite/builtin_op_data.h index 548864a1e9..5c6f3016b1 100644 --- a/tensorflow/contrib/lite/builtin_op_data.h +++ b/tensorflow/contrib/lite/builtin_op_data.h @@ -105,6 +105,17 @@ typedef struct { } TfLiteAddParams; typedef struct { + // Number of spatial dimensions. + // For now only NHWC is supported, and the value should always be 2. + int num_spatial_dimensions; + // TODO(ahentz): We can't have dynamic data in this struct, at least not yet. + // For now we will fix the maximum possible number of dimensions. + int block_shape[2]; + int before_crops[2]; + int after_crops[2]; +} TfLiteBatchToSpaceNDParams; + +typedef struct { TfLiteFusedActivation activation; } TfLiteMulParams; |