Привет, Хабр! Меня зовут Олег, я работаю с машинным обучением в VK Видео, внедряю нейросети в Клипы ВКонтакте для создания эффектов дополненной реальности. В статье расскажу, как запустить TensorFlow Lite сетку с передачей GPU-буферов — как входного, так и выходного. Этот подход помогает сэкономить на пересылке данных между CPU- и GPU- памятью, когда данные уже находятся в...
Last week I posted about the new Cupcake lorem ipsum generator, and several readers sent me notes on Twitter and through comments with links to their favorite funny dummy text generators. Everyone needs a little dummy text from time to time, but there’s no reason to let yours be boring and uninspiring! Check out the...
There a times when working with WordPress that you may need to locate the path to your root folder. If it’s not immediately obvious to you, here’s a way that you can locate it quickly. Step 1: Create a new file called absolutepath.php and add the following to it: <?php $p = getcwd(); echo $p;...
Last week I featured three tips for effectively utilizing shortcodes. Now what’s the point in having all of that knowledge if you can’t use it? It’s time to get down and dirty with some shortcodes that you can use on your WordPress blog right now. Your level (or lack) of expertise doesn’t matter – shortcodes...
Have you ever wanted to use more than one WordPress theme on a site at the same time? Well, it’s possible. Of course, you could create a page template or even a specific post template and then style them as you like. But let’s be honest – most of us don’t have the design skills...
Widgets and menus are generally your first port of call when making customizations to a WordPress site. Not only do they allow you place and display content anywhere on your site (that is widget-ready, of course, in the case of widgets) but they’re also noteworthy features for any potential users of your themes. While adding...