事实上,用 php 的大公司不算多,
不清楚
Facebook 总的来说,我更愿意称他在用 PHP 的风格生成 C++ 代码。
| #!/usr/bin/env bpftrace | |
| BEGIN { | |
| printf("Tracing block io, Ctrl-C to get result\n"); | |
| } | |
| tracepoint:block:block_rq_issue / args->sector > 0 / | |
| { | |
| @start[args->sector] = nsecs; | |
| @kbs[args->sector] = args->bytes / 1024; |
| FROM php:7.3 | |
| COPY mirrors /etc/apt/sources.list | |
| ARG SWOOLE_VERSION=4.2.9 | |
| RUN rm /etc/apt/sources.list.d -r \ | |
| && apt-get update \ | |
| && apt-get install libssl-dev git -y \ | |
| && docker-php-ext-install pdo_mysql sockets \ |
| import nnabla as nn | |
| import nnabla.functions as F | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| import graphviz as gv | |
| def draw_graph(v, hide_params=True, op_as_edge=False): | |
| graph = gv.Digraph() | |
| params = nn.get_parameters(grad_only=False) | |
| layer_count = {} |
| # Copyright 2017 Intel Corporation. | |
| # The source code, information and material ("Material") contained herein is | |
| # owned by Intel Corporation or its suppliers or licensors, and title to such | |
| # Material remains with Intel Corporation or its suppliers or licensors. | |
| # The Material contains proprietary information of Intel or its suppliers and | |
| # licensors. The Material is protected by worldwide copyright laws and treaty | |
| # provisions. | |
| # No part of the Material may be used, copied, reproduced, modified, published, | |
| # uploaded, posted, transmitted, distributed or disclosed in any way without | |
| # Intel's prior express written permission. No license under any patent, |