- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 393 for tensor2 (0.17 sec)
-
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
// of intermediate tensors since importer doesn't guarantee to preserve tensor // names except output tensors. Location OpLoc(const OperatorT& op, const std::vector<std::unique_ptr<tflite::TensorT>>& tensors, Builder builder, Location base) { if (op.outputs.empty()) return base; llvm::SmallVector<Location, 4> locations; locations.reserve(op.outputs.size());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc
} } } // namespace bool IsQuantized(const TensorT& tensor) { return (tensor.quantization != nullptr) && !tensor.quantization->zero_point.empty(); } // Returns the correct type for a quantized tensor. // We have a special case for constants since they have a higher minimum value. StatusOr<QuantizedType> GetQuantizedType(const TensorT& tensor, Builder builder,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 23:04:40 UTC 2024 - 16.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs
// model. table SubGraph { // A list of all tensors used in this subgraph. tensors:[Tensor]; // Indices of the tensors that are inputs into this subgraph. Note this is // the list of non-static tensors that feed into the subgraph for inference. inputs:[int]; // Indices of the tensors that are outputs out of this subgraph. Note this is // the list of output tensors that are considered the product of the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 14:28:27 UTC 2024 - 30K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc
// There should be 3 tensors: input, output, and BroadcastTo/shape. EXPECT_THAT(subgraph->tensors, SizeIs(3)); // Input Tensor EXPECT_THAT(subgraph->tensors[0]->type, Eq(tensor_type_)); EXPECT_THAT(subgraph->tensors[0]->name, Eq("input_1")); EXPECT_THAT(subgraph->tensors[0]->quantization->scale, SizeIs(1)); EXPECT_THAT(subgraph->tensors[0]->quantization->zero_point, SizeIs(1));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 73.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/schema/schema.fbs
// model. table SubGraph { // A list of all tensors used in this subgraph. tensors:[Tensor]; // Indices of the tensors that are inputs into this subgraph. Note this is // the list of non-static tensors that feed into the subgraph for inference. inputs:[int]; // Indices of the tensors that are outputs out of this subgraph. Note this is // the list of output tensors that are considered the product of the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td
def PromiseOp: TensorflowMlrt_Op<"promise", []> { let summary = "Set a tensor in a promise"; let description = [{ Set a tensor in a promise. $promise: A value of type !mlrt.promise. The underlying value must be a tensorflow tensor. $tensor: A tensorflow tensor. }]; let arguments = (ins MlrtPromiseType:$promise, TFTensorType:$tensor ); let assemblyFormat = "operands attr-dict"; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 13.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.td
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 is composed from `container_name` and `shared_name` from a `var_handle` and can be
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/lite/utils/const_tensor_utils.h
#include "tensorflow/compiler/mlir/lite/schema/schema_generated.h" #include "tensorflow/core/framework/tensor.pb.h" #include "tensorflow/core/framework/tensor_shape.pb.h" namespace mlir { namespace TFL { bool IsQuantized(const tflite::TensorT& tensor); absl::StatusOr<mlir::quant::QuantizedType> GetQuantizedType( const tflite::TensorT& tensor, mlir::Builder builder, bool is_constant = false, mlir::Type storage_type = {});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 23:04:40 UTC 2024 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc
// as tensor names may have changed via MLIR constant folding process. bool ExpectEqualTensor(const Tensor* tensor, const Tensor* expected_tensor) { return (tensor->is_variable() == expected_tensor->is_variable()) && (GetAsVector(tensor->shape()) == GetAsVector(expected_tensor->shape())); } // Finds the match of the quantized tensor from the possible tensors. Each
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 32.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lift_variables.cc
} // Read all underlying tensors of the variables from the session. std::vector<Tensor> tensors; tensors.reserve(resource_tensors.size()); for (const Tensor& resource_tensor : resource_tensors) { if (resource_tensor.dtype() != tensorflow::DT_RESOURCE) { tensors.push_back(resource_tensor); continue; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 7.9K bytes - Viewed (0)