- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for Kata (0.14 sec)
-
tensorflow/c/eager/c_api_experimental.h
// shape is explicitly requested where possible. int (*num_dims)(void* data, TF_Status* status); // Computes the axis length at `dim_index`. int64_t (*dim)(void* data, int dim_index, TF_Status* status); void (*deallocator)(void* data); // Summarizes the value of this tensor. The caller takes ownership of the
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler.h
// optimization pass. Nodes modified during optimization pass have to be // invalidated, to prevent further incorrect optimizations based on wrong shape // and data type properties. typedef struct TF_GraphProperties TF_GraphProperties; // Create GraphProperties. The item must outlive the properties. TF_CAPI_EXPORT extern TF_GraphProperties* TF_NewGraphProperties(
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Aug 03 18:08:43 GMT 2022 - 12.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.h
TFE_TensorHandle* TestMatrixTensorHandle(TFE_Context* ctx); // Return a tensor handle containing 2D matrix containing given data and // dimensions TFE_TensorHandle* TestMatrixTensorHandleWithInput(TFE_Context* ctx, float data[], int64_t dims[], int num_dims); // Get a Matrix TensorHandle with given float values and dimensions
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Jul 17 23:43:59 GMT 2023 - 7.7K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
TF_NewTensor( datatype_enum, /*dims=*/nullptr, /*num_dims=*/0, device_value.release(), sizeof(DataType), [](void* data, size_t, void* arg) { delete reinterpret_cast<DataType*>(data); }, nullptr), TF_DeleteTensor); // TODO(allenl): Here and when executing regular operations, we could hold
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 25 15:21:13 GMT 2023 - 12.9K bytes - Viewed (0) -
tensorflow/c/c_api.h
// -------------------------------------------------------------------------- // Used to return strings across the C API. The caller does not take ownership // of the underlying data pointer and is not responsible for freeing it. typedef struct TF_StringView { const char* data; size_t len; } TF_StringView; // --------------------------------------------------------------------------
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/c_api_experimental.h
// Fast path method that makes constructing a single scalar tensor require less // overhead and copies. TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_NewTensorHandleFromScalar( TF_DataType data_type, void* data, size_t len, TF_Status* status); // Specify the server_def that enables collective ops. // This is different to the above function in that it doesn't create remote
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 15.1K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
#ifndef TENSORFLOW_C_EAGER_TAPE_H_ #define TENSORFLOW_C_EAGER_TAPE_H_ // Language-agnostic gradient tape. Does not perform backpropagation, just // maintains the data structures required to do so. #include <stack> #include <unordered_map> #include <unordered_set> #include <vector> #include "tensorflow/core/config/flag_defs.h" #include "tensorflow/core/config/flags.h"
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1) -
src/cmd/cgo/internal/test/callback_c.c
// license that can be found in the LICENSE file. #include <string.h> #include "_cgo_export.h" void callback(void *f) { // use some stack space volatile char data[64*1024]; data[0] = 0; goCallback(f); data[sizeof(data)-1] = 0; } void callGoFoo(void) { extern void goFoo(void); goFoo(); } void IntoC(void) { BackIntoGo(); } void Issue1560InC(void)
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 933 bytes - Viewed (0) -
tensorflow/c/eager/abstract_operation.h
return SetAttrShape(attr_name, shape.dim_sizes().data(), shape.dims()); } inline Status AbstractOperation::SetAttrStringList( const char* attr_name, absl::Span<string const> values) { std::vector<const char*> raw_strs; std::vector<size_t> lengths; raw_strs.reserve(values.size()); lengths.reserve(values.size()); for (const auto& s : values) { raw_strs.emplace_back(s.data()); lengths.emplace_back(s.size());
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jul 14 16:20:41 GMT 2021 - 6.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
// Returns the number of elements in dimension `dim_index`. // Tensor representation on device can be transposed from its representation // on host. The data contained in dimension `dim_index` on device // can correspond to the data contained in another dimension in on-host // representation. The dimensions are indexed using the standard TensorFlow // major-to-minor order (slowest varying dimension first),
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Viewed (1)