You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- namespace Tensorflow.Eager
- {
- public class Tape
- {
- public static bool IsDtypeTrainable(DataType dtype)
- {
- switch (dtype)
- {
- case DataType.DtHalf:
- case DataType.DtBfloat16:
- case DataType.DtFloat:
- case DataType.DtDouble:
- case DataType.DtComplex64:
- case DataType.DtComplex128:
- case DataType.DtResource:
- case DataType.DtVariant:
- return true;
- default:
- return false;
- }
- }
- }
- }
|