- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 295 for TensorT (0.32 sec)
-
tensorflow/compiler/jit/get_compiler_ir.cc
std::vector<const Tensor*> inputs(input_arg_size); std::deque<Tensor> inputs_storage; std::vector<VariableInfo> variable_infos; int offset = input_arg_shape_and_dtype.size(); for (int i = 0; i < input_handles.size(); i++) { const TensorHandle* th = input_handles[i]; const Tensor* t; // Handle owns the tensor. TF_RETURN_IF_ERROR(th->Tensor(&t));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 19K 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/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/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/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) -
tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel.pbtxt
} # MLIR-LABEL: func @main # MLIR-SAME: (%[[ARG_0:[a-z0-9]+]]: tensor<1x1x1x256x!quant.uniform<i8:f32, 0.21632751372549019:27>>) -> tensor<1x6x31x!quant.uniform<i8:f32, 0.09363494573854933:22>> # MLIR-SAME: control_outputs = "" # MLIR-SAME: inputs = "input" # MLIR-SAME: outputs = "output" # MLIR: %[[shape:.*]] = arith.constant dense<[1, -1, 31]> : tensor<3xi32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 18.1K bytes - Viewed (0) -
tensorflow/cc/saved_model/loader.cc
return absl::OkStatus(); } Tensor CreateStringTensor(const string& value) { Tensor tensor(DT_STRING, TensorShape({})); tensor.scalar<tstring>()() = value; return tensor; } void AddAssetsTensorsToInputs(const StringPiece export_dir, const std::vector<AssetFileDef>& asset_file_defs, std::vector<std::pair<string, Tensor>>* inputs) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 02 04:36:00 UTC 2024 - 23K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_device.h
Tensor* tensor) override TF_LOCKS_EXCLUDED(mu_); Status MakeTensorFromProto(DeviceContext* device_context, const TensorProto& tensor_proto, const AllocatorAttributes alloc_attrs, Tensor* tensor); const Metadata& metadata() { return xla_metadata_; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 13.4K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/value.h
new (&v.data_.dict) T(std::make_shared<T::element_type>()); return v; } /// Constructs a TaggedValue with type TENSOR. static TaggedValue Tensor(tensorflow::AbstractTensorHandle* raw_ptr) { TaggedValue v; v.type_ = TENSOR; using T = decltype(v.data_.tensor); new (&v.data_.tensor) T(raw_ptr, /*add_ref=*/false); return v; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:23:45 UTC 2024 - 20.4K bytes - Viewed (0)