- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 458 for tensor_b (0.39 sec)
-
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
Type qtype = attr.getValue(); auto tensor_or = BuildTensorFromType( qtype, name_mapper_.GetUniqueName(intermediate).str()); if (!tensor_or.has_value()) { continue; } else { intermediates.push_back(tensors.size()); tensors.push_back(tensor_or.value()); } } } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_context.h
// Note: Keep in sync with exported copy of enum in eager/c_api.h. enum ContextDevicePlacementPolicy { // Running operations with input tensors on the wrong device will fail. DEVICE_PLACEMENT_EXPLICIT = 0, // Copy the tensor to the right device but log a warning. DEVICE_PLACEMENT_WARN = 1, // Silently copy the tensor, which has a performance cost since the operation // will be blocked till the copy completes. This is the default policy.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 06 08:34:00 UTC 2023 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo.mlir
return %0 : tensor<1x1x1xf32> } //CHECK:func.func private @slice(%arg0: tensor<160x20x1xf32>) -> tensor<1x1x1xf32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 14 19:15:40 UTC 2024 - 31.9K bytes - Viewed (1) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
for (const auto& iter : specs.inputs) { TensorId tensor_id = ParseTensorName(iter.first); feed_fetch_nodes.insert(std::string(tensor_id.node())); } for (const auto& output : llvm::concat<const std::string>( specs.outputs, specs.control_outputs)) { TensorId tensor_id = ParseTensorName(output); feed_fetch_nodes.insert(std::string(tensor_id.node())); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py
) from ex def _convert_values_to_tf_tensors( sample: rd.RepresentativeSample, ) -> Mapping[str, core.Tensor]: """Converts TensorLike values of `sample` to Tensors. Creates a copy of `sample`, where each value is converted to Tensors unless it is already a Tensor. The values are not converted in-place (i.e. `sample` is not mutated). Args:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 05:32:11 UTC 2024 - 27.4K 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/tests/lower-static-tensor-list.mlir
%0 = "tf.TensorListFromTensor"(%arg0, %arg1) : (tensor<*xf32>, tensor<1xi32>) -> tensor<!tf_type.variant<tensor<*xf32>>> %1 = "tf.TensorListGetItem"(%0, %arg2, %arg1) : (tensor<!tf_type.variant<tensor<*xf32>>>, tensor<i32>, tensor<1xi32>) -> tensor<*xf32> %2 = "tf.TensorListStack"(%0, %arg1) : (tensor<!tf_type.variant<tensor<*xf32>>>, tensor<1xi32>) -> tensor<*xf32> func.return %1, %2 : tensor<*xf32>, tensor<*xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 39.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/ir/tfr_ops.td
def TFR_CastOp : TFR_Op<"cast", [Pure]> { let description = [{ The `cast` operation converts the operand with built-in tensor type to tfr.tensor type, or vice versa. Example: ```mlir %1 = tfr.cast(%0) : tensor<f32> -> !tfr.tensor %3 = tfr.cast(%1) : !tfr.tensor -> tensor<f32> ``` }]; let arguments = (ins TFR_singleTensorType:$arg);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 10:54:29 UTC 2024 - 17.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_executor_ops.td
Note: Additional result corresponds to the control output. }]; let arguments = (ins TensorOf<[I1]>:$input, Variadic<TfeControlType>:$controlInputs ); let results = (outs TensorOf<[I1]>:$output, TfeControlType:$control ); let hasVerifier = 0; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 23 19:35:12 UTC 2023 - 22K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/unidirectional_sequence_lstm.mlir
func.func @main(tensor<4x4x4xf32>, tensor<4x4xf32>, tensor<4x4xf32>, tensor<4x4xf32>, tensor<4x4xf32>, tensor<4x4xf32>, tensor<4x4xf32>, tensor<4x4xf32>, tensor<4x4xf32>, tensor<4xf32>, tensor<4xf32>, tensor<4xf32>, tensor<4xf32>, tensor<4xf32>, tensor<4xf32>, tensor<4xf32>, tensor<4x4xf32>, tensor<4xf32>, tensor<4x4xf32>, tensor<4x4xf32>, tensor<4x4xf32>, tensor<4x4xf32>) -> tensor<4x4x4xf32> { // CHECK: { // CHECK-NEXT: version: 3,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 06 18:55:51 UTC 2023 - 11.7K bytes - Viewed (0)