Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

feedInputs for TensorSpace model #172

Copy link
Copy link
@syt123450

Description

@syt123450
Issue body actions

Add feedInputs for model. TensorSpace model load a pre-trained tfjs model for prediction. Pre-trained model may have multi-inputs, however, TensorSpace model may only visualize some of them, use feedInputs to configure it.

For example, ACGAN's generative model, has two inputs random data ( tf.randomNormal([1, 100]) ) and label ( tf.randomNromal([1, 1]) ), if we only want to visualize the random data, we can config model like:

let model = TSP.models.Sequential({
    feedInputs: [ 0 ]
});

0 means the first applied input. In this example, as pre-trained model has two inputs, default to feedInputs: [ 0, 1 ].

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.