- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,123 for tftensor (0.13 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td
} foreach pair = [[MHLO_AndOp, CHLO_BroadcastAndOp, TF_LogicalAndOp], [MHLO_OrOp, CHLO_BroadcastOrOp, TF_LogicalOrOp]] in { def : Pat<(pair[0] I1Tensor:$l, I1Tensor:$r), (pair[2] $l, $r)>; def : Pat<(pair[1] I1Tensor:$l, I1Tensor:$r, $broadcast_dimensions), (pair[2] $l, $r), [(IsLegalNumpyRankedBroadcast $l, $r, $broadcast_dimensions)]>; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Feb 03 08:58:22 UTC 2024 - 34K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/fallback.mlir
sparse_types = [!tf_type.string, !tf_type.string] } : (tensor<32x!tf_type.string>, tensor<0x!tf_type.string>, tensor<2x!tf_type.string>, tensor<2x!tf_type.string>, tensor<0x!tf_type.string>, tensor<0xf32>, tensor<0xf32>) -> (tensor<?x2xi64>, tensor<?x2xi64>, tensor<?x!tf_type.string>, tensor<?xi64>, tensor<2xi64>, tensor<2xi64>, tensor<32xf32>, tensor<32xf32>) // CHECK: tfrt.return {{.*}}, [[outputs]]#0
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 00:18:59 UTC 2024 - 9.1K bytes - Viewed (0) -
tensorflow/cc/saved_model/saved_model_bundle_test.cc
Tensor input = test::AsTensor<tstring>(serialized_examples, TensorShape({4})); std::vector<Tensor> outputs; TF_ASSERT_OK(bundle.session->Run({{input_name, input}}, {output_name}, {}, &outputs)); ASSERT_EQ(outputs.size(), 1); test::ExpectTensorEqual<float>( outputs[0], test::AsTensor<float>({2, 2.5, 3, 3.5}, TensorShape({4, 1})));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 15.3K bytes - Viewed (0) -
tensorflow/cc/ops/const_op_test.cc
TensorShape shape) { EXPECT_TRUE(n->IsConstant()); Tensor tensor; TF_EXPECT_OK(GetNodeAttr(n->attrs(), "value", &tensor)); DataType dtype; TF_EXPECT_OK(GetNodeAttr(n->attrs(), "dtype", &dtype)); EXPECT_EQ(tensor.dtype(), dtype); test::ExpectTensorEqual<T>(tensor, test::AsTensor(values, shape)); } void ExpectTypeAndShape(const Node* n, DataType expected_dtype,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 12 14:38:21 UTC 2019 - 4.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
size_t proto_len, TF_Status* status); // A handle to a tensor on a device. // // Like a TF_Tensor, a TFE_TensorHandle refers to a tensor with a value, shape, // type etc. Unlike a TF_Tensor, a TFE_TensorHandle may refer to such tensors // placed in the memory of different devices or remote address spaces.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 22.8K bytes - Viewed (0) -
tensorflow/c/tf_tstring.h
==============================================================================*/ #ifndef TENSORFLOW_C_TF_TSTRING_H_ #define TENSORFLOW_C_TF_TSTRING_H_ #include "tensorflow/c/c_api_macros.h" #include "tensorflow/c/tf_tensor.h" #include "tensorflow/core/platform/ctstring.h" #ifdef __cplusplus extern "C" { #endif TF_CAPI_EXPORT extern void TF_StringInit(TF_TString *t);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 1.7K bytes - Viewed (0) -
tensorflow/c/c_api.h
TF_Tensor** value, TF_Status* status); // Fills in `values` with the TF_Tensor values of the attribute `attr_name` of // `oper`. `values` must point to an array of TF_Tensor* of length at least // `max_values` (ideally set to TF_AttrMetadata.list_size from
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
if (VLOG_IS_ON(1) && status->status.ok()) { tensorflow::Tensor tensor; if (tensorflow::TF_TensorToTensor(ret, &tensor).ok()) { VLOG(1) << "Dequeued tensor content: " << tensor.DebugString(); } } return ret; } void TF_EnqueueNamedTensor(TF_Session* session, int tensor_id, TF_Tensor* tensor, TF_Status* status) { assert(session); {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/eager/dlpack.cc
status->status = tensorflow::errors::InvalidArgument( "DLPack doesn't support ", handle->TypeString(), " tensor"); return nullptr; } const tensorflow::Tensor* tensor; status->status = handle->Tensor(&tensor); if (!status->status.ok()) { return nullptr; } return tensor; } // Deleter for DLManagedTensor void DLManagedTensorDeleter(DLManagedTensor* arg) { TfDlManagedTensorCtx* owner =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 12.8K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.h
// TODO(hongm): Add support for `timeout_ms`. TF_CAPI_EXPORT extern TF_Tensor* TF_DequeueNamedTensor(TF_Session* session, int tensor_id, TF_Status* status); // On success, enqueues `tensor` into a TF-managed FifoQueue given by // `tensor_id`, associated with `session`. There must be a graph node named
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 15.1K bytes - Viewed (0)