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.

hub.cs 399 B

1234567891011121314151617
  1. using Tensorflow.Hub;
  2. namespace Tensorflow
  3. {
  4. public static class HubAPI
  5. {
  6. public static HubMethods hub { get; } = new HubMethods();
  7. }
  8. public class HubMethods
  9. {
  10. public KerasLayer KerasLayer(string handle, bool trainable = false, LoadOptions? load_options = null)
  11. {
  12. return new KerasLayer(handle, trainable, load_options);
  13. }
  14. }
  15. }