- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,123 for tftensor (0.27 sec)
-
tensorflow/compiler/mlir/tfrt/tests/tfrt_fallback/batching_fallback.mlir
func.func @returns_multiple_refs(%ch: !tfrt.chain, %a: !tfrt_fallback.tf_tensor) -> (!tfrt.chain, !tfrt_fallback.tf_tensor, !tfrt_fallback.tf_tensor) { tfrt.return %ch, %a, %a : !tfrt.chain, !tfrt_fallback.tf_tensor, !tfrt_fallback.tf_tensor } // ... when the function returns_multiple_refs is invoked by the batch_function, // ... then the code should not crash.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jul 18 22:58:56 UTC 2023 - 8.6K bytes - Viewed (0) -
tensorflow/c/kernels/tensor_shape_utils.cc
#include <string> #include "tensorflow/c/tf_tensor.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/strcat.h" namespace tensorflow { std::string ShapeDebugString(TF_Tensor* tensor) { // A TF_Tensor cannot have an unknown rank. CHECK_GE(TF_NumDims(tensor), 0); tensorflow::string s = "["; for (int i = 0; i < TF_NumDims(tensor); ++i) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 03 21:44:58 UTC 2020 - 1.4K 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/c/tf_tensor_helper.h
#include <memory> #include "tensorflow/c/tf_tensor.h" #include "tensorflow/core/platform/status.h" namespace tensorflow { class Tensor; Status TF_TensorToTensor(const TF_Tensor* src, Tensor* dst); TF_Tensor* TF_TensorFromTensor(const Tensor& src, Status* status); TF_Tensor* TF_TensorFromTensorShallow(const Tensor& src, Status* status); namespace internal { struct TFTensorDeleter {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 24 20:38:55 UTC 2023 - 1.4K bytes - Viewed (0) -
tensorflow/c/kernels_experimental.h
// 2. The variable is initialized // 3. The shape of the value tensor doesn't match the shape of the variable // tensor. TF_CAPI_EXPORT extern void TF_AssignVariable( TF_OpKernelContext* ctx, int input_index, int value_index, bool validate_shape, void (*copyFunc)(TF_OpKernelContext* ctx, TF_Tensor* source, TF_Tensor* dest), TF_Status* status);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 07 14:44:39 UTC 2023 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/fallback_inline.mlir
%out_ch, %result = tfrt.call @callee(%ch, %arg) : (!tfrt.chain, !tfrt_fallback.tf_tensor) -> (!tfrt.chain, !tfrt_fallback.tf_tensor) tfrt.return %out_ch, %result : !tfrt.chain, !tfrt_fallback.tf_tensor
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 25 10:51:48 UTC 2022 - 1.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/basic.mlir
// CHECK-SAME: [[arg0:%.*]]: !tfrt_fallback.tf_tensor, // CHECK-SAME: [[arg1:%.*]]: !tfrt_fallback.tf_tensor) // CHECK-SAME: -> (!tfrt.chain, !tfrt_fallback.tf_tensor) func.func @func_basic( %arg0: tensor<3x1xf32> {tf_saved_model.index_path = [0]}, %arg1: tensor<!tf_type.resource<tensor<1x3xf32>>> {tf_saved_model.index_path = [1]}) -> (tensor<3x3xf32> {tf_saved_model.index_path = []})
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 00:18:59 UTC 2024 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/eval_util.cc
for (TFE_TensorHandle* tensor_handle : outputs) { TF_Tensor* tf_tensor = TFE_TensorHandleResolve(tensor_handle, status); RETURN_FAILURE_IF_ERROR(status); auto clean_tensor = MakeCleanup([tf_tensor] { TF_DeleteTensor(tf_tensor); }); Tensor tensor; RETURN_FAILURE_IF_ERROR(TF_TensorToTensor(tf_tensor, &tensor)); auto attr_or = ConvertTensor(tensor, &builder); RETURN_FAILURE_IF_ERROR(attr_or.status());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 13 06:02:14 UTC 2023 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.td
} def TF_IfrtLoadVariableOp : TF_Op<"IfrtLoadVariable", [Pure]> { let summary = "Loads a restored variable tensor as a tensor future"; let description = [{ This op loads a restored variable tensor as a tensor future. It is a replacement of `tf.ReadVariableOp`. This op returns a scalar string tensor containing the restored variable name, which
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.td
} // This corresponds to tensorflow::Tensor. def TFTensorType : DialectType<Fallback_Dialect, CPred<"$_self.isa<::tfrt::fallback::TFTensorType>()">, "!tfrt_fallback.tf_tensor type">, BuildableType<"$_builder.getType<::tfrt::fallback::TFTensorType>()"> { let description = [{ `!tfrt_fallback.tf_tensor type` represents a tensorflow::Tensor. }]; } // This corresponds to tensorflow::Allocator.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 18 15:01:21 UTC 2024 - 1.7K bytes - Viewed (0)