Searched refs:SINGLE_CASE (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/c/ |
D | kernels.cc | 289 #define SINGLE_CASE(kK, attr_type, size_expr) \ in TF_OpKernelConstruction_GetAttrSize() macro 295 SINGLE_CASE(kS, TF_ATTR_STRING, attr->s().length()); in TF_OpKernelConstruction_GetAttrSize() 296 SINGLE_CASE(kI, TF_ATTR_INT, -1); in TF_OpKernelConstruction_GetAttrSize() 297 SINGLE_CASE(kF, TF_ATTR_FLOAT, -1); in TF_OpKernelConstruction_GetAttrSize() 298 SINGLE_CASE(kB, TF_ATTR_BOOL, -1); in TF_OpKernelConstruction_GetAttrSize() 299 SINGLE_CASE(kType, TF_ATTR_TYPE, -1); in TF_OpKernelConstruction_GetAttrSize() 300 SINGLE_CASE(kShape, TF_ATTR_SHAPE, in TF_OpKernelConstruction_GetAttrSize() 302 SINGLE_CASE(kTensor, TF_ATTR_TENSOR, -1); in TF_OpKernelConstruction_GetAttrSize() 303 #undef SINGLE_CASE in TF_OpKernelConstruction_GetAttrSize()
|
D | c_api.cc | 1238 #define SINGLE_CASE(kK, attr_type, size_expr) \ in TF_OperationGetAttrMetadata() macro 1246 SINGLE_CASE(kS, TF_ATTR_STRING, attr->s().length()); in TF_OperationGetAttrMetadata() 1247 SINGLE_CASE(kI, TF_ATTR_INT, -1); in TF_OperationGetAttrMetadata() 1248 SINGLE_CASE(kF, TF_ATTR_FLOAT, -1); in TF_OperationGetAttrMetadata() 1249 SINGLE_CASE(kB, TF_ATTR_BOOL, -1); in TF_OperationGetAttrMetadata() 1250 SINGLE_CASE(kType, TF_ATTR_TYPE, -1); in TF_OperationGetAttrMetadata() 1251 SINGLE_CASE(kShape, TF_ATTR_SHAPE, in TF_OperationGetAttrMetadata() 1253 SINGLE_CASE(kTensor, TF_ATTR_TENSOR, -1); in TF_OperationGetAttrMetadata() 1254 #undef SINGLE_CASE in TF_OperationGetAttrMetadata()
|