- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for created (0.11 sec)
-
tensorflow/c/c_api.cc
"and will trigger an error in the future. Either don't modify " "nodes after running them or create a new session."); } } } namespace { // Helper method that creates a shape handle for a shape described by dims. tensorflow::shape_inference::ShapeHandle ShapeHandleFromDims( tensorflow::shape_inference::InferenceContext* ic, int num_dims,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
return builder_.create<mlir::tf_executor::SwitchOp>(loc, types, operands, result.attributes); } if (node.IsMerge()) { return builder_.create<mlir::tf_executor::MergeOp>(loc, types, operands, result.attributes); } if (node.IsNextIteration()) {
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/lite/transforms/optimize.cc
Value new_reshape_shape_value = rewriter.create<arith::ConstantOp>( inner_reshape_op->getLoc(), GetI32ElementsAttr(new_reshape_shape_i32, &rewriter)); auto new_inner_reshape_op = rewriter.create<TFL::ReshapeOp>( inner_reshape_op->getLoc(), inner_reshape_input, new_reshape_shape_value); // Create a new reshape_op to replace the old inner reshape_op.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
// op's type is deduced from `value`; if `value` is of scalar type, // wraps it up with a tensor type of empty shape. // TODO(jpienaar): This one differs from the autogenerated one as it takes an // attribute but always creates an ElementsAttr internally. void ConstOp::build(OpBuilder& builder, OperationState& result, Attribute value) { ShapedType type; if (auto elem_attr = mlir::dyn_cast<ElementsAttr>(value)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
auto slice_size_attr = DenseIntElementsAttr::get(idx_type, slice_size_i32); auto slice_size = rewriter.create<arith::ConstantOp>(op.getLoc(), slice_size_attr); ArrayRef<int64_t> strides = op.getStrides(); // If stride of every dimension is 1, create tfl.slice and return early. // Otherwise, create tfl.strided_slice instead. if (llvm::all_of(strides, [](int64_t stride) { return stride == 1; })) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
tflite::BuiltinOperator builtin) { auto it = opcode_index_map_.insert({op_name, 0}); // If the insert succeeded, the opcode has not been created already. Create a // new operator code and update its index value in the map. if (it.second) { it.first->second = opcodes_.size(); auto custom_code = builtin == tflite::BuiltinOperator_CUSTOM
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/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
auto out_segids_cst = builder.create<TF::ConstOp>( builder.getI32TensorAttr(flattened_out_segids)); auto contracting_segids_cst = builder.create<TF::ConstOp>( builder.getI32TensorAttr(flattened_contracting_segids)); auto num_segids_tensor = builder.create<TF::ConstOp>(builder.getI32IntegerAttr(1)); auto flattened_out_dims = builder.create<TF::UnsortedSegmentProdOp>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc
*library_expected.add_function() = FunctionDefHelper::Create( "F1", {"a_0_arg:float"}, {"c_0_retval:float"}, {}, { {{"C"}, "UnaryTest", {"a_0_arg"}}, }, {{"c_0_retval", "C:o:0"}}); *library_expected.add_function() = FunctionDefHelper::Create( "F2", {"b_0_arg:float", "c_0_arg:float"}, {"d_0_retval:float"}, {}, {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 113.3K bytes - Viewed (0) -
tensorflow/compiler/jit/extract_outside_compilation_pass.cc
data_types, outside_compilation_nodes, g, n); return absl::OkStatus(); } // Creates a mapping from outside compilation cluster name to lifted argument // placeholder. absl::StatusOr<std::unordered_map<string, Node*>> OutsideCompilationAttrToNode( const Graph& g) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 104.7K bytes - Viewed (0)