- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,053 for TensorT (0.12 sec)
-
tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc
// Prepare function arguments from ready Chain and input Tensors. llvm::SmallVector<tfrt::AsyncValue*> exec_arguments; exec_arguments.reserve(compute->num_arguments()); exec_arguments.push_back(tfrt::GetReadyChain().release()); for (const Tensor& input_tensor : arguments) { auto av = MakeAvailableAsyncValueRef<FallbackTensor>(input_tensor);
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/compiler/mlir/tf2xla/internal/passes/clustering_passes.td
%replicated_output:2 = "tf.TPUReplicatedOutput(%identity) : (tensor<i32>) -> (tensor<i32>, tensor<i32>) return %replicated_output#0, %replicated_output#1 : tensor<i32>, tensor<i32> } ``` will be transformed into: ```mlir func @tpu_computation(%arg0: tensor<i32>, %arg1: tensor<i32>) -> (tensor<i32>, tensor<i32>) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 02:01:13 UTC 2024 - 19.8K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_device_context.cc
// pointer. We can return an empty object and ignore num_bytes here because we // have control over all of the uses of this device tensor, and can lazily // allocate memory when used. This allows us to also know the shape of the // allocated Tensor, which is useful if the device's tensor representation // differs from the host. return XlaTensor::ToOpaquePointer(new XlaTensor()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 00:36:08 UTC 2024 - 12.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/exported_model.proto
// TF2 models. map<string, string> function_aliases = 6; // Holds information about the asset files used for the model. It essentially // associates asset file names with the tensors to which the asset file names // should be fed. repeated AssetFileDef asset_file_defs = 8; // SaverDef including the information required for saving and restoring
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 03 06:12:59 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/tftext_utils.cc
} LogicalResult VerifyWhitespaceTokenizer(func::FuncOp func) { // In the case of input tensor with 0 rank. // Whitespace tokenizer generates 1 output: // * String tensor for tokens. // // In the case of 1-D input tensor, // Whitespace tokenizer generates 2 outputs to make up a ragged tensor: // * 1st output is the value of ragged tensor; // * 2nd output is the offset. // // In the case of batched input tesnor,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.4K bytes - Viewed (0) -
tensorflow/c/tf_datatype.h
// TF_DataType holds the type for a scalar value. E.g., one slot in a tensor. // The enum values here are identical to corresponding values in types.proto. typedef enum TF_DataType { TF_FLOAT = 1, TF_DOUBLE = 2, TF_INT32 = 3, // Int32 tensors are always in 'host' memory. TF_UINT8 = 4, TF_INT16 = 5, TF_INT8 = 6, TF_STRING = 7,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Sep 08 20:13:32 UTC 2023 - 2.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc
} } // Verify the argument order: tensors, tensor list, attributes; and also // verify there is at most one tensor list argument. if (first_attr != -1 && (first_attr < last_tensor_list || first_attr < last_tensor)) { func.emitError( "tfr.tensor/tfr.tensor_list argument should be before non tensor " "arguments."); return failure(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Nov 21 16:55:41 UTC 2023 - 38.2K bytes - Viewed (0) -
tensorflow/cc/tools/freeze_saved_model.cc
namespace tensorflow { namespace { // Gets tensor names from tensor_info and inserts them into the set of tensor // names. void GetTensorNamesFromTensorInfo(const TensorInfo& tensor_info, std::unordered_set<string>* tensor_names) { if (tensor_info.has_coo_sparse()) { // If the tensor is sparse we have to add all three tensors of the sparse // representations.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 11 08:05:36 UTC 2023 - 11.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md
} return %graph#0, %graph#1, %graph#2, %graph#3 : !tf_res, !tf_res, tensor<f32>, tensor<f32> } ``` After: ```mlir func @while_body(%arg0: !tf_res, %arg1: !tf_res, %arg2: tensor<f32>, %arg3: tensor<f32>, %chain_0: tensor<i32>, %chain_1: tensor<i32>) -> (!tf_res, !tf_res, tensor<f32>, tensor<f32>, tensor<i32>, tensor<i32>) { %graph:6 = tf_executor.graph {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 02 02:26:39 UTC 2023 - 96.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
} } // Special type fixes for scalar tensor types. // TFLite flatbuffer schema doesn't distinguish scalar tensor shapes // and unranked tensor shapes (i.e. they are both represented as an empty // INT32 list), see b/138865275. MLIR importer conservatively treats them as // unranked tensor types. Here we set them to scalar tensor types when it is // safe.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0)