Class DeprecatedWorkerExtensions
Inheritance
DeprecatedWorkerExtensions
Syntax
public static class DeprecatedWorkerExtensions
Methods
Declaration
[Obsolete("Use SetInput instead.", false)]
public static void AddInput(this IWorker worker, string name, Tensor x)
Parameters
Declaration
[Obsolete("Use SetInput instead.", false)]
public static void AddInput(this IWorker worker, Tensor x)
Parameters
ExecuteAndWaitForCompletion(IWorker, IDictionary<String, Tensor>)
Declaration
[Obsolete("Use Execute followed by CopyOutput and PrepareCacheForAccess instead.", false)]
public static Tensor ExecuteAndWaitForCompletion(this IWorker worker, IDictionary<string, Tensor> inputs)
Parameters
Returns
ExecuteAndWaitForCompletion(IWorker, Tensor)
Declaration
[Obsolete("Use Execute followed by CopyOutput and PrepareCacheForAccess instead.", false)]
public static Tensor ExecuteAndWaitForCompletion(this IWorker worker, Tensor input)
Parameters
Returns
ExecuteAsync(IWorker)
Declaration
[Obsolete("Use StartManualSchedule instead.", false)]
public static IEnumerator ExecuteAsync(this IWorker worker)
Parameters
Type |
Name |
Description |
IWorker |
worker |
|
Returns
ExecuteAsync(IWorker, IDictionary<String, Tensor>)
Declaration
[Obsolete("Use StartManualSchedule instead.", false)]
public static IEnumerator ExecuteAsync(this IWorker worker, IDictionary<string, Tensor> inputs)
Parameters
Returns
ExecuteAsync(IWorker, Tensor)
Declaration
[Obsolete("Use StartManualSchedule instead.", false)]
public static IEnumerator ExecuteAsync(this IWorker worker, Tensor input)
Parameters
Returns
Fetch(IWorker)
Declaration
[Obsolete("Use CopyOutput instead.", false)]
public static Tensor Fetch(this IWorker worker)
Parameters
Type |
Name |
Description |
IWorker |
worker |
|
Returns
Fetch(IWorker, String)
Declaration
[Obsolete("Use CopyOutput instead.", false)]
public static Tensor Fetch(this IWorker worker, string name)
Parameters
Returns
FetchAndTakeOwnership(IWorker)
Declaration
[Obsolete("Use PeekOutput followed by TakeOwnership or DeepCopy instead.", false)]
public static Tensor FetchAndTakeOwnership(this IWorker worker)
Parameters
Type |
Name |
Description |
IWorker |
worker |
|
Returns
FetchAndTakeOwnership(IWorker, String)
Declaration
[Obsolete("Use PeekOutput followed by TakeOwnership or DeepCopy instead.", false)]
public static Tensor FetchAndTakeOwnership(this IWorker worker, string name)
Parameters
Returns
GetAsyncProgress(IWorker)
Declaration
[Obsolete("Use scheduleProgress instead.", false)]
public static float GetAsyncProgress(this IWorker worker)
Parameters
Type |
Name |
Description |
IWorker |
worker |
|
Returns
Peek(IWorker)
Declaration
[Obsolete("Use PeekOutput instead.", false)]
public static Tensor Peek(this IWorker worker)
Parameters
Type |
Name |
Description |
IWorker |
worker |
|
Returns
Peek(IWorker, String)
Declaration
[Obsolete("Use PeekOutput instead.", false)]
public static Tensor Peek(this IWorker worker, string name)
Parameters
Returns
WaitForCompletion(IWorker)
Declaration
[Obsolete("Use FlushSchedule instead.", false)]
public static void WaitForCompletion(this IWorker worker)
Parameters
Type |
Name |
Description |
IWorker |
worker |
|