Home
last modified time | relevance | path

Searched refs:wrt (Results 1 – 25 of 62) sorted by relevance

123

/third_party/mindspore/tests/mindspore_test_framework/utils/
Dbprop_util.py56 def bprop(func, *inputs, grads_wrt_outputs=None, wrt: list = None, params: list = None):
77 if wrt is None:
78 wrt = []
80 if 'inputs' in wrt:
83 if 'params' in wrt:
/third_party/skia/third_party/externals/microhttpd/src/testzzuf/
Dtest_put_chunked.c53 unsigned int wrt; in putBuffer() local
55 wrt = size * nmemb; in putBuffer()
56 if (wrt > 8 - (*pos)) in putBuffer()
57 wrt = 8 - (*pos); in putBuffer()
58 if (wrt > 4) in putBuffer()
59 wrt = 4; /* only send half at first => force multiple chunks! */ in putBuffer()
60 memcpy (stream, &("Hello123"[*pos]), wrt); in putBuffer()
61 (*pos) += wrt; in putBuffer()
62 return wrt; in putBuffer()
Dtest_put.c55 unsigned int wrt; in putBuffer() local
57 wrt = size * nmemb; in putBuffer()
58 if (wrt > 8 - (*pos)) in putBuffer()
59 wrt = 8 - (*pos); in putBuffer()
60 memcpy (stream, &("Hello123"[*pos]), wrt); in putBuffer()
61 (*pos) += wrt; in putBuffer()
62 return wrt; in putBuffer()
Dtest_put_large.c63 unsigned int wrt; in putBuffer() local
65 wrt = size * nmemb; in putBuffer()
66 if (wrt > PUT_SIZE - (*pos)) in putBuffer()
67 wrt = PUT_SIZE - (*pos); in putBuffer()
68 memcpy (stream, &put_buffer[*pos], wrt); in putBuffer()
69 (*pos) += wrt; in putBuffer()
70 return wrt; in putBuffer()
/third_party/skia/third_party/externals/microhttpd/src/testcurl/
Dtest_timeout.c90 unsigned int wrt; in putBuffer() local
92 wrt = size * nmemb; in putBuffer()
93 if (wrt > 8 - (*pos)) in putBuffer()
94 wrt = 8 - (*pos); in putBuffer()
95 memcpy (stream, &("Hello123"[*pos]), wrt); in putBuffer()
96 (*pos) += wrt; in putBuffer()
97 return wrt; in putBuffer()
Dtest_put_chunked.c58 unsigned int wrt; in putBuffer() local
60 wrt = size * nmemb; in putBuffer()
61 if (wrt > 8 - (*pos)) in putBuffer()
62 wrt = 8 - (*pos); in putBuffer()
63 if (wrt > 4) in putBuffer()
64 wrt = 4; /* only send half at first => force multiple chunks! */ in putBuffer()
65 memcpy (stream, &("Hello123"[*pos]), wrt); in putBuffer()
66 (*pos) += wrt; in putBuffer()
67 return wrt; in putBuffer()
Dtest_put.c59 unsigned int wrt; in putBuffer() local
61 wrt = size * nmemb; in putBuffer()
62 if (wrt > 8 - (*pos)) in putBuffer()
63 wrt = 8 - (*pos); in putBuffer()
64 memcpy (stream, &("Hello123"[*pos]), wrt); in putBuffer()
65 (*pos) += wrt; in putBuffer()
66 return wrt; in putBuffer()
Dtest_large_put.c72 unsigned int wrt; in putBuffer() local
74 wrt = size * nmemb; in putBuffer()
75 if (wrt > PUT_SIZE - (*pos)) in putBuffer()
76 wrt = PUT_SIZE - (*pos); in putBuffer()
77 memcpy (stream, &put_buffer[*pos], wrt); in putBuffer()
78 (*pos) += wrt; in putBuffer()
79 return wrt; in putBuffer()
/third_party/mindspore/tests/ut/python/pynative_mode/
Dtest_bprop.py48 Tensor(np.ones([3, 2]).astype(np.float32)), wrt=['inputs'])
55 Tensor(np.ones([2, 2]).astype(np.float32))), wrt=['inputs'])
71 wrt=['params'],
79 wrt=['params'],
89 wrt=['inputs', 'params'],
Dtest_stop_gradient.py198 Tensor(np.ones([2, 2]).astype(np.float32)), wrt=['inputs'])
321 Tensor(np.ones([2]).astype(np.float32)), wrt=['inputs'])
340 Tensor(np.ones([2]).astype(np.float32)), wrt=['inputs'])
/third_party/skia/third_party/externals/libwebp/src/enc/
Dpicture_enc.c237 WebPMemoryWriter wrt; in Encode() local
252 pic.custom_ptr = &wrt; in Encode()
253 WebPMemoryWriterInit(&wrt); in Encode()
258 WebPMemoryWriterClear(&wrt); in Encode()
262 *output = wrt.mem; in Encode()
263 return wrt.size; in Encode()
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dpicture_enc.c237 WebPMemoryWriter wrt; in Encode() local
252 pic.custom_ptr = &wrt; in Encode()
253 WebPMemoryWriterInit(&wrt); in Encode()
258 WebPMemoryWriterClear(&wrt); in Encode()
262 *output = wrt.mem; in Encode()
263 return wrt.size; in Encode()
/third_party/boost/boost/process/
Dpipe.hpp272 std::ptrdiff_t wrt = _pipe.write(base, in _write_impl() local
277 if (wrt < diff) in _write_impl()
278 std::move(base + wrt, base + diff, base); in _write_impl()
279 else if (wrt == 0) //broken pipe in _write_impl()
282 this->pbump(-wrt); in _write_impl()
/third_party/libffi/src/arm/
Dsysv.S146 @ This is a bit of a lie wrt the origin of the unwind info, but
/third_party/flutter/skia/third_party/externals/libwebp/
DREADME627 WebPMemoryWriter wrt;
628 WebPMemoryWriterInit(&wrt); // initialize 'wrt'
638 // -> compressed data is the memory buffer described by wrt.mem / wrt.size
641 WebPMemoryWriterClear(&wrt);
/third_party/skia/third_party/externals/libwebp/
DREADME633 WebPMemoryWriter wrt;
634 WebPMemoryWriterInit(&wrt); // initialize 'wrt'
644 // -> compressed data is the memory buffer described by wrt.mem / wrt.size
647 WebPMemoryWriterClear(&wrt);
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/simd/nasm/
Djsimdext.inc260 %define GOTOFF(got, sym) (got) + (sym) wrt ..gotoff
265 add %1, GOT_SYMBOL + $$ - $ wrt ..gotpc
/third_party/libjpeg-turbo/simd/nasm/
Djsimdext.inc263 %define GOTOFF(got, sym) (got) + (sym) wrt ..gotoff
268 add %1, GOT_SYMBOL + $$ - $ wrt ..gotpc
/third_party/skia/third_party/externals/libjpeg-turbo/simd/nasm/
Djsimdext.inc304 %define GOTOFF(got, sym) (got) + (sym) wrt ..gotoff
309 add %1, GOT_SYMBOL + $$ - $ wrt ..gotpc
/third_party/boost/libs/ptr_container/doc/
Dtutorial.rst159 Maybe you want to keep all the animals in zoo ordered wrt.
435 another_zoo.sort(); // sorted wrt. to same order as 'zoo'
Dptr_sequence_adapter.rst438 - Requirements: both sequences are sorted wrt. the same predicate
/third_party/python/Objects/
Dlistsort.txt315 a common element, it would get out of order wrt its occurrence(s) in B. The
736 already known wrt _both_ endpoints. What remains is to find A[0]'s correct
737 location wrt B[4], B[5] and B[6], which spans 3 elements. Or in general, the
/third_party/EGL/extensions/NOK/
DEGL_NOK_texture_from_pixmap.txt318 Clarified / fixed wording wrt differences to pbuffers.
/third_party/skia/third_party/externals/egl-registry/extensions/NOK/
DEGL_NOK_texture_from_pixmap.txt318 Clarified / fixed wording wrt differences to pbuffers.
/third_party/boost/libs/icl/doc/
Dconcepts.qbk278 The existence of an ['*identity element*] wrt. an `operator+=` is a requirement

123