LostTech.TensorFlow : API Documentation

Type PublicTools

Namespace LostTech.Gradient

Useful extension methods

Methods

Public static methods

IDictionary<string, object> AsKwArgs<T>(this T anonymousObject)

Converts anonymous object to a dictionary, suitable for Python keyword arguments.

IEnumerable<T> Stream<T>(this IEnumerable<T> enumerable)

Returns a special wrapper for IEnumerable`1 , that will always be iterated over when passed to Python, rather than being copied to a list first.