Comments (4)
Thanks @ChenghaoMou and @finngaida for comments on the issue. Added update_dim_vars_len
in the commit dd2e747. Please see the README (API) for usage.
Let me know if this works for you.
from tsalib.
That sounds great, especially the update_len
call is what I needed
from tsalib.
@finngaida sorry for the delayed reply. I think there was a DimVar.update
function somewhere but not exposed in docs. Will check and get back soon.
Also, can you tell me more about which DimVar
you are trying to update? Any reason you can't initialize it upfront from config variables?
from tsalib.
@ekshaks same issue here.
For example, the text sequence dimension [batch_size, sequence_size, hidden_size] can vary from batch to batch (padded only at batch level). It would be super helpful to make some kind of dynamic dimension variables.
BTW, thanks for this awesome package!
from tsalib.
Related Issues (19)
- Compare with datashape HOT 1
- Guess transformation type in `warp`
- Include `join` spec in `warp` HOT 1
- Unable to declare multi-char shorthand HOT 1
- tsn eval bug
- Add more examples HOT 1
- Include `alignto` as an operator inside `warp` HOT 1
- Wrong dimension in the documentation? HOT 2
- allow warp tfm_names to be a list HOT 1
- Is code in openai_transformer.py runnable? HOT 7
- Use with Pandas HOT 2
- Is requirements.txt needed? HOT 1
- Make core API work with Python 2.x HOT 1
- Annotated BERT model with tsalib HOT 1
- Better shorthand for expand transformation HOT 2
- Document shorthand notation HOT 1
- `lookup` function to get pre-declared dimvars anywhere HOT 1
- Allow `warp` to take in a list of shape transformations HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tsalib.