Pytorch classes

0.0(0)
studied byStudied by 0 people
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/3

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

4 Terms

1
New cards

Create class SQ with custom backward and forward. Forward should take i and square it.

<p></p>
2
New cards

Create class toy_set. The set should be 100 by default, with no transformers. x should be (2, 2) for all examples, and y should be 1. x is on index 1, and y is on index 2.

<p></p>
3
New cards

Create class add_mult. It add 1 to x and multiplies y by 2. The data is contained in sample. x is the 1st index, and y is the 2nd index. Return sample as x, y

<p></p>
4
New cards

pass

pass