- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for tensor2 (0.35 sec)
-
tensorflow/c/c_api_test.cc
s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); const char* tensor_data[] = {&tensor1[0], &tensor2[0]}; const size_t tensor_size[] = {TF_ARRAYSIZE(tensor1), TF_ARRAYSIZE(tensor2)}; const int64_t* tensor_dims[] = {&dims1[0], &dims2[0]}; const size_t tensor_ndims[] = {ndims1, ndims2}; for (int i = 0; i < 2; ++i) { TF_Tensor* v = values[i];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 96.9K bytes - Viewed (0) -
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/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/tensorflow/ir/tf_ops.td
let summary = [{ Op that copies host tensors to device with bounded dynamic shape support. }]; let description = [{ This op copies the padded tensor on cpu to TPU without the padded data. `tensors` is a list of cpu tensors with padded data. `unpadded_sizes` is a list of shape tensors which describes unpadded size of each dimension for each cpu tensor.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 04:08:35 UTC 2024 - 90.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
} // Extract individual tensor list element and combine them using the tf.Pack // op. Location loc = op.getLoc(); llvm::SmallVector<Value, 4> values; values.reserve(tensors.size()); for (const tensorflow::Tensor &tensor : tensors) { auto attr_or = tensorflow::ConvertTensor(tensor, &rewriter); if (!attr_or.ok()) return failure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/python/tfr_gen.py
TFR_BUILTINS = { '_tfr_quant_act_range': (TFRTypes.TENSOR, TFRTypes.TENSOR), '_tfr_quant_rescale': TFRTypes.TENSOR, '_tfr_quant_raw_data': lambda input_type: input_type, '_tfr_quant_qparam': (TFRTypes.TENSOR, TFRTypes.TENSOR), '_tfr_quant_scale_factor': TFRTypes.TENSOR, } class TFRTypeResolver(type_inference.Resolver):
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 27 15:27:03 UTC 2022 - 55.8K 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/quantization/tensorflow/python/integration_test/quantize_model_test_base.py
correspond to. tags: Set of tags associated with the model. inputs: Input name -> input tensor mapping. outputs: Output name -> output tensor mapping. init_op: Op for initialization. assets_collection: Assets collection. This collection is a list of string tensors. Each tensor contains the asset file names. """ v1_builder = builder.SavedModelBuilder(saved_model_path)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 08:51:46 UTC 2024 - 51.2K bytes - Viewed (0) -
tensorflow/c/c_api.h
// - Directly referencing external tensors from the cond/body graphs (this is // possible in the Python API) TF_CAPI_EXPORT extern TF_WhileParams TF_NewWhile(TF_Graph* g, TF_Output* inputs, int ninputs, TF_Status* status); // Builds the while loop specified by `params` and returns the output tensors of
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/mlrt/while_to_map_fn.mlir
func.func private @"map/while_body"(%arg0: tensor<i32>, %arg1: tensor<i32>, %arg2: tensor<!tf_type.variant<tensor<*xf32>>>, %arg3: tensor<i32>, %arg4: tensor<!tf_type.resource<tensor<3x1xf32>>>, %arg5: tensor<?x3xf32>, %arg6: tensor<?x4xf32>) -> (tensor<i32>, tensor<i32>, tensor<!tf_type.variant<tensor<*xf32>>>, tensor<i32>, tensor<!tf_type.resource<tensor<3x1xf32>>>, tensor<?x3xf32>, tensor<?x4xf32>) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 06:40:22 UTC 2024 - 68.6K bytes - Viewed (0)