Previous question · 1116
Remove Duplicates from Sorted Array
easyAlgorithms
Next question · 1118
Longest Repeating Character Replacement
mediumAlgorithms
Random coding question

1117. Max pooling of embeddings

easy
GeneralGeneral
senior
Function contract
Inputs
embeddings
np.ndarray
Returns
value
np.ndarray

Examples

Input
{
  "embeddings": [
    [
      0.1,
      -1,
      2.5
    ],
    [
      0.3,
      -2,
      1.2
    ],
    [
      0.2,
      -0.5,
      2
    ]
  ]
}
Output
[
  0.3,
  -0.5,
  2.5
]

Constraints

Hint 1
Hint 2
Hint 3
Roles
ML Engineer
AI Engineer
Data Scientist
Research Scientist
Companies
GeneralGeneral
Levels
senior
entry
Tags
numpy
max-pooling
embeddings
vectorization

Similar Questions

Linear Regressionmedium
ML Coding
Activation function relueasy
ML Coding
Text normalizationmedium
ML Coding
22 people are solving this problem
Loading editor for the selected language
Ln 1, Col 1
Program Output
DATAINTERVIEW
Interactive coding terminal
Python / NumPy environment ready.
Type a command below or run code from the editor.
run scriptExecute the current editor contents
submitGrade the current editor contents against all solution test cases
python ("print hello world")Run an isolated Python command
helpShow all available commands