Interesting documentary on American Economy.
Consider the following Redux Toolkit state:
const initialState = {
data: [],
};
const dataSlice = createSlice({
name: "data",
initialState,
reducers: {
setData: (state, action: PayloadAction<DataType[]>) => {
console.log("state.data", state.data);
},
},
});
// state.data Proxy(Object) {type_: 0, scope_: {…}, modified_: false, finalized_: false, assigned_: {…}, …}
I'm unable to log state data in console
Mathematically:
where is the dimensionality of the Key vectors, and the scaling factor stabilizes gradients.
👍