- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for size_a (0.11 sec)
-
tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc
ASSERT_THAT(sizeof(float) * weights_buffer->data.size(), Eq(original_weights_buffer->data()->size())); int num_values_in_channel = weights_buffer->data.size() / out_channel_size; for (size_t channel_idx = 0; channel_idx < out_channel_size; channel_idx++) { for (size_t j = 0; j < num_values_in_channel; j++) { size_t element_idx = channel_idx * out_channel_size + j;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 73.9K bytes - Viewed (0) -
tensorflow/c/kernels_test.cc
for (const auto& s : list) { list_total_size += s.size(); } TF_Status* status = TF_NewStatus(); std::unique_ptr<char*[]> values(new char*[list.size()]); std::unique_ptr<size_t[]> lens(new size_t[list.size()]); std::unique_ptr<char[]> storage(new char[list_total_size]); EXPECT_TF_SIZE(/*attr_name*/ "Attr", /*expected_list_size*/ list.size(), /*expected_total_size*/ list_total_size);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 50.4K bytes - Viewed (0) -
src/runtime/mbitmap.go
size := dataSize - off if size == 0 { off -= goarch.PtrSize size += goarch.PtrSize } interior := x + off size -= alignDown(uintptr(cheaprand())%size, goarch.PtrSize) if size == 0 { size = goarch.PtrSize } // Round up the type to the size of the type. size = (size + gctyp.Size_ - 1) / gctyp.Size_ * gctyp.Size_ if interior+size > x+maxIterBytes {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 60K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
std::unique_ptr<const void*[]>* ptrs, std::unique_ptr<size_t[]>* lens) { ptrs->reset(new const void*[v.size()]); lens->reset(new size_t[v.size()]); for (size_t i = 0; i < v.size(); ++i) { (*ptrs)[i] = v[i].data(); (*lens)[i] = v[i].size(); } } class CApiColocationTest : public ::testing::Test { protected:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 96.9K bytes - Viewed (0) -
tensorflow/c/c_api.h
// For example, neither the C99 nor the C++11 standard force a byte // size on the bool type, so the macro defined in stdbool.h could // be inconsistent with the bool keyword in C++. Thus, the use // of stdbool.h is avoided and unsigned char is used instead. // * size_t is used to represent byte sizes of objects that are // materialized in the address space of the calling process.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
src/runtime/map.go
} if t.Key.Size_ > abi.MapMaxKeyBytes && (!t.IndirectKey() || t.KeySize != uint8(goarch.PtrSize)) || t.Key.Size_ <= abi.MapMaxKeyBytes && (t.IndirectKey() || t.KeySize != uint8(t.Key.Size_)) { throw("key size wrong") } if t.Elem.Size_ > abi.MapMaxElemBytes && (!t.IndirectElem() || t.ValueSize != uint8(goarch.PtrSize)) ||
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 57.6K bytes - Viewed (0) -
src/reflect/type.go
var gcdata *byte var ptrdata uintptr size := abi.MapBucketCount*(1+ktyp.Size_+etyp.Size_) + goarch.PtrSize if size&uintptr(ktyp.Align_-1) != 0 || size&uintptr(etyp.Align_-1) != 0 { panic("reflect: bad size computation in MapOf") } if ktyp.Pointers() || etyp.Pointers() { nptr := (abi.MapBucketCount*(1+ktyp.Size_+etyp.Size_) + goarch.PtrSize) / goarch.PtrSize n := (nptr + 7) / 8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
src/cmd/cgo/out.go
"uint16": {Size: 2, Align: 2, C: c("GoUint16")}, "int32": {Size: 4, Align: 4, C: c("GoInt32")}, "uint32": {Size: 4, Align: 4, C: c("GoUint32")}, "int64": {Size: 8, Align: 8, C: c("GoInt64")}, "uint64": {Size: 8, Align: 8, C: c("GoUint64")}, "float32": {Size: 4, Align: 4, C: c("GoFloat32")}, "float64": {Size: 8, Align: 8, C: c("GoFloat64")}, "complex64": {Size: 8, Align: 4, C: c("GoComplex64")},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 16:41:10 UTC 2024 - 59.6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
constexpr int TF_RANDOM_ACCESS_FILE_OPS_ABI = 0; constexpr size_t TF_RANDOM_ACCESS_FILE_OPS_SIZE = sizeof(TF_RandomAccessFileOps); // LINT.ThenChange() // LINT.IfChange(writable_file_ops_version) constexpr int TF_WRITABLE_FILE_OPS_API = 0; constexpr int TF_WRITABLE_FILE_OPS_ABI = 0; constexpr size_t TF_WRITABLE_FILE_OPS_SIZE = sizeof(TF_WritableFileOps); // LINT.ThenChange()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 27 17:36:54 UTC 2022 - 53.1K bytes - Viewed (0) -
tensorflow/compiler/jit/deadness_analysis.cc
size_t frame_start = 0; while (frame_start < topo.size()) { // Batching nodes who have the same root frame. absl::string_view cur_frame_name; TF_RETURN_IF_ERROR( GetRootFrame(topo[frame_start], control_flow_info_, &cur_frame_name)); size_t frame_end = frame_start; for (size_t i = frame_start + 1; i < topo.size(); ++i) { absl::string_view i_frame_name;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 60.4K bytes - Viewed (0)