- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for inputs_ty (0.22 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
LogicalResult XlaVariadicSortOp::verify() { XlaVariadicSortOp op = *this; const auto &inputs_ty = op.getInputs().getType(); int n_inputs = inputs_ty.size(); auto input_ty_0 = inputs_ty[0].cast<ShapedType>(); if (input_ty_0.hasStaticShape()) { for (int i = 1; i < n_inputs; ++i) { auto input_ty_i = inputs_ty[i].cast<ShapedType>(); if (input_ty_i.hasStaticShape() &&
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/tensorflow/ir/tf_ops_a_m.cc
DataFormatVecPermuteOp op = *this; auto input_ty = mlir::dyn_cast<RankedTensorType>(op.getX().getType()); if (!input_ty) return success(); int rank = input_ty.getRank(); if (rank != 1 && rank != 2) return op.emitOpError("requires input of rank 1 or 2"); if (rank == 1) { int64_t dim0 = input_ty.getDimSize(0); if (dim0 != ShapedType::kDynamic && dim0 != 4 && dim0 != 2)
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/transforms/lower_tf.cc
// as its an input requirement. if (!input_ty.hasRank() || input_ty.getRank() != 4) { return failure(); } int64_t batch_cst = input_ty.getShape()[0]; int64_t channels_cst = input_ty.getShape()[3]; int64_t in_y_cst = input_ty.getShape()[1]; int64_t in_x_cst = input_ty.getShape()[2]; int64_t in_spatial_cst =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 74.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java
readingList.add(toKatakana(text)); return readingList; } protected String toKatakana(final String inputStr) throws IOException { final StringBuilder kanaBuf = new StringBuilder(); final Reader rd = new StringReader(inputStr); try (TokenStream stream = createTokenStream(rd)) { if (stream == null) { throw new IOException("Invalid tokenizer.");
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.7K bytes - Viewed (0) -
tensorflow/cc/framework/ops.h
for (auto const& x : out) { inputs_.push_back(x); } } typename std::vector<Input>::iterator begin() { return inputs_.begin(); } typename std::vector<Input>::iterator end() { return inputs_.end(); } typename std::vector<Input>::const_iterator begin() const { return inputs_.begin(); } typename std::vector<Input>::const_iterator end() const { return inputs_.end(); } private:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_tensor_helper.cc
} Type InferReductionOpType(Value input, Value reduction_indices, BoolAttr keep_dims) { Type input_ty = input.getType(); Type element_ty = getElementTypeOrSelf(input_ty); // Output type is unranked if input type is not ranked. auto ranked_ty = mlir::dyn_cast<RankedTensorType>(input_ty); if (!ranked_ty) return UnrankedTensorType::get(element_ty); int64_t rank = ranked_ty.getRank();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
} int axis = val.getSExtValue(); auto input_ty = mlir::dyn_cast<RankedTensorType>(op.getInput().getType()); if (!input_ty || !input_ty.hasStaticShape()) { return rewriter.notifyMatchFailure( op, "require the type of input to have static shapes"); } ArrayRef<int64_t> input_shape = input_ty.getShape(); int input_rank = input_ty.getRank(); if (axis < 0) axis += input_rank;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0) -
tensorflow/cc/framework/gradients.cc
std::unordered_set<int> stop_backprop_nodes = GetStopBackpropNodes(reachable_nodes, output_nodes); // Populate `input_nodes_` from Outputs in `inputs_`. input_nodes_.reserve(inputs_.size()); for (size_t i = 0; i < inputs_.size(); ++i) { input_nodes_.insert({inputs_[i], i}); } // TODO(andydavis) Consider a more efficient data structure for `pending_` to
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 22K bytes - Viewed (0) -
tensorflow/cc/ops/while_loop_test.cc
const std::vector<T>& expected_output_values) { ClientSession session(scope_); DCHECK_EQ(input_values.size(), inputs_.size()); ClientSession::FeedType feeds; for (int i = 0; i < inputs_.size(); ++i) { feeds.emplace(inputs_[i], input_values[i]); } std::vector<Tensor> out_tensors; TF_ASSERT_OK(session.Run(feeds, outputs_, &out_tensors));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 13 22:30:58 UTC 2023 - 6.4K bytes - Viewed (0) -
tensorflow/c/while_loop_test.cc
} void Run(const std::vector<TF_Output>& run_outputs, std::initializer_list<int> input_values) { DCHECK_EQ(inputs_.size(), input_values.size()); std::vector<std::pair<TF_Operation*, TF_Tensor*>> inputs(inputs_.size()); int i = 0; for (int v : input_values) { inputs[i] = {inputs_[i].oper, Int32Tensor(v)}; ++i; } // TODO(skyewm): use std::make_unique or absl::make_unique when possible.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 11 06:05:56 UTC 2024 - 15.3K bytes - Viewed (0)