- Sort Score
- Result 10 results
- Languages All
Results 21 - 24 of 24 for tensor_list (0.17 sec)
-
tensorflow/compiler/mlir/lite/utils/lstm_utils.cc
func_output_shape, mlir::cast<RankedTensorType>(input_.getType()).getElementType()); auto tensor_cast = builder_.create<mlir::tensor::CastOp>( fused_func_op_.getLoc(), func_result_type, lstm_.getResult()); builder_.create<mlir::func::ReturnOp>(fused_func_op_.getLoc(), tensor_cast.getResult()); return success(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 36.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_cfg.cc
} operands.push_back(val); } return builder->create<func::CallOp>(loc, fn, operands).getOperation(); } // Prepares for jump to the given block by introducing necessary tensor_cast // operations and returning Values of types required by the block. // // Requires the function to provide values for each of the block arguments and // they should be pair-wise compatible for tensor cast.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 13 11:42:59 UTC 2023 - 12.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc
mlir::TF::RecvTPUEmbeddingActivationsOp::getOperationName(), context)); supported_ops->insert(OperationName( mlir::TF::SendTPUEmbeddingGradientsOp::getOperationName(), context)); } // Stack, TensorList and TensorArray ops are rewritten during the second phase // of the bridge (compilation of TPUCompile op). They would not match any // legalization/canonicalization pattern and have to be manually added to the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/passes.h
// Materialize the MlirPassthroughOp by replacing it with the MLIR module // attached as an attribute. std::unique_ptr<OperationPass<func::FuncOp>> CreateMaterializePassthroughOpPass(); // Replicates the TensorList init op by undoing some CSE needed for correct // shape assignment in shape_inference. std::unique_ptr<OperationPass<func::FuncOp>> CreateReplicateTensorListInitOpsPass();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 31.8K bytes - Viewed (0)