I am currently playing with some ideas on CRF-ish, and I have an idea that I need help.
I have a bunch of functional objects (I think something is expensive, like neural networks). They apply to a linear buffer (I think, an array from floator bytes), but with variable intervals. So they look like this (think of the beginning and the end as “apply Object to buf[Start:End]”:
float
byte
buf[Start:End]
| Object | Start | End | |--------|-------|-----| | A | 0 | 4 | | B | 4 | 10 | | C | 13 | 15 |
[4:10]
[4:12]
[3:12]
[0:3]
:
- , , ?
- ?
, . , / . - .
, , .
funcs -, .
funcs
ints s, , ; " " . -1 , - .
s
(int, int) intervals, intervals[i] , funcs[i].
intervals
intervals[i]
funcs[i]
, . , i s[i], funcs[s[i]] intervals[s[i]]. , s, s intervals, , . , . ( , ? , ? " , .)
i
s[i]
funcs[s[i]]
intervals[s[i]]
Source: https://habr.com/ru/post/1687976/More articles:Как сообщить jQuery, что редактируемый контент div был обновлен - jqueryWhat is the correct way to define a polysemy function in OCaml? - ocamlwatchOS 4 contentFrame for multiple pages of an interface controller - iosDuplicateMappingException in created_by field - javahttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1687975/modelling-association-in-elm-leads-to-dependencies-cycle&usg=ALkJrhh8I_30LbSbooKfgrT3k4g8h7HnDgcv2.lbphfacerecognizer does not have attribute 'load' 'pred' - pythonPHP: send a request to the login website - phpSlow rendering of the simplest layout - performanceHow can I make a Handlebars file using two different routes? - javascripthttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1687981/in-reactivex-how-do-i-pass-other-parameters-to-observercreate&usg=ALkJrhiQOlxrEPWnsYEWPEhMJaj0Na0MTgAll Articles