- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for tftensor$ (0.39 sec)
-
tensorflow/c/tf_tensor.cc
TF_Tensor* TF_TensorMaybeMove(TF_Tensor* t) { return t->tensor->CanMove() ? t : nullptr; } void TF_DeleteTensor(TF_Tensor* t) { if (t == nullptr) { return; } if (t->tensor) { t->tensor->Release(); } delete t; } TF_DataType TF_TensorType(const TF_Tensor* t) { return static_cast<TF_DataType>(t->tensor->Type());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 21:57:32 UTC 2024 - 11.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/tfrt_fallback/batch_function_fallback.mlir
!tfrt_fallback.tf_tensor, !tfrt_fallback.tf_tensor, !tfrt_fallback.tf_tensor, !tfrt_fallback.tf_tensor, !tfrt_fallback.tf_tensor, !tfrt_fallback.tf_tensor, !tfrt_fallback.tf_tensor,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Dec 08 08:08:48 UTC 2023 - 24.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/control_flow.mlir
// CHECK: [[body_res:%.*]]:2 = tfrt.call @while_body_add2([[ch]], [[arg]]) : (!tfrt.chain, !tfrt_fallback.tf_tensor) -> (!tfrt.chain, !tfrt_fallback.tf_tensor) // CHECK: [[pred_res:%.*]]:2 = tfrt.call @"while_cond_lt9/tfrt_predicate"([[body_res]]#0, [[body_res]]#1) : (!tfrt.chain, !tfrt_fallback.tf_tensor) -> (!tfrt.chain, i1)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 00:40:32 UTC 2024 - 17.5K bytes - Viewed (0) -
tensorflow/c/kernels_experimental.cc
void (*binary_add_func)(TF_OpKernelContext* ctx, TF_Tensor* a, TF_Tensor* b, TF_Tensor* out)); static Status CCBinaryAddFunc( ::tensorflow::OpKernelContext* cc_ctx, const Tensor& cc_a, const Tensor& cc_b, Tensor* cc_out, void (*binary_add_func)(TF_OpKernelContext* ctx, TF_Tensor* a, TF_Tensor* b, TF_Tensor* out)) { if (cc_a.dtype() == ::tensorflow::DT_INVALID) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 06:12:29 UTC 2024 - 30.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.cc
if (TF_GetCode(status) != TF_OK) return nullptr; TFE_OpSetAttrType(op, "dtype", TF_FLOAT); TFE_OpAddInput(op, var_handle, status); // Convert 'value' to a TF_Tensor then a TFE_TensorHandle. std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> t( TF_AllocateTensor(TF_FLOAT, nullptr, 0, sizeof(value)), TF_DeleteTensor); memcpy(TF_TensorData(t.get()), &value, TF_TensorByteSize(t.get()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 23.5K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
static void FloatDeallocator(void* data, size_t, void* arg) { delete[] static_cast<float*>(data); } TF_Tensor* BoolTensor(bool v) { const int num_bytes = sizeof(bool); bool* values = new bool[1]; values[0] = v; return TF_NewTensor(TF_BOOL, nullptr, 0, values, num_bytes, &BoolDeallocator, nullptr); } TF_Tensor* Int8Tensor(const int64_t* dims, int num_dims, const char* values) { int64_t num_values = 1;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 15 03:16:52 UTC 2021 - 17.8K bytes - Viewed (0) -
tensorflow/c/kernels.cc
if (!s.ok()) { ::tensorflow::Set_TF_Status_from_Status(status, s); return nullptr; } TF_Tensor* tf_tensor = TF_TensorFromTensor(*tensor, &s); if (!s.ok()) { ::tensorflow::Set_TF_Status_from_Status(status, s); return nullptr; } return tf_tensor; } TF_Tensor* TF_ForwardInputOrAllocateOutput( TF_OpKernelContext* context, const int* candidate_input_indices,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 22:53:47 UTC 2024 - 36K bytes - Viewed (0) -
tensorflow/c/BUILD
name = "tf_tensor_hdrs", hdrs = [ "tf_tensor.h", "tf_tensor_helper.h", ], visibility = ["//visibility:public"], deps = [ ":c_api_macros_hdrs", ":tf_datatype_hdrs", ":tf_status_headers", "//tensorflow/core/platform:status", ], ) cc_library( name = "tf_tensor", srcs = ["tf_tensor.cc"], hdrs = [ "tf_tensor.h",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 27 18:00:18 UTC 2024 - 30.3K bytes - Viewed (0) -
tensorflow/c/kernels.h
#include "tensorflow/c/tf_tensor.h" // Required for IS_MOBILE_PLATFORM definition #include "tsl/platform/platform.h" // IWYU pragma: keep #if !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD) #include "tensorflow/core/common_runtime/next_pluggable_device/c/tf_rendezvous_c_api.h" #endif #ifdef __cplusplus extern "C" { #endif typedef struct TF_Tensor TF_Tensor;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 09 22:46:22 UTC 2024 - 24.6K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc
#include "tensorflow/c/experimental/saved_model/public/tensor_spec.h" #include "tensorflow/c/tf_datatype.h" #include "tensorflow/c/tf_shape.h" #include "tensorflow/c/tf_status.h" #include "tensorflow/c/tf_tensor.h" #include "tensorflow/core/lib/io/path.h" #include "tensorflow/core/platform/status.h" #include "tensorflow/core/platform/stringpiece.h" #include "tensorflow/core/platform/test.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 08:08:45 UTC 2024 - 21.3K bytes - Viewed (0)