- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for NoneType (0.21 sec)
-
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
TypeIsPred<"input_gate_bias", NoneType>, TypeIsPred<"input_layer_norm_coefficients", NoneType>]>, Neg<Or<[ TypeIsPred<"input_to_input_weights", NoneType>, TypeIsPred<"recurrent_to_input_weights", NoneType>, TypeIsPred<"input_gate_bias", NoneType>]>>]>>; // TODO(b/137798843): Need to add an additional constraint for both LSTM and
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
return failure(); } Value filter = fc_op.getFilter(); Value bias = fc_op.getBias(); ElementsAttr bias_value; const bool is_none_bias = mlir::isa<NoneType>(bias.getType()); if (fc_op.getFusedActivationFunction() != "NONE") return failure(); if (!is_none_bias && !matchPattern(bias, m_Constant(&bias_value))) return failure(); // Rewrite
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/lite/flatbuffer_export.cc
// on failure. auto build_tensor_and_buffer = [&](Value value, const int subgraph_index, const std::string& tensor_name) { // NoneType represents optional and may be skipped here. if (mlir::isa<NoneType>(value.getType())) { return true; } tensor_index_map.insert({value, tensors.size()}); tensor_index_map_[subgraph_index][tensor_name] = tensors.size();
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/ir/tfl_ops.cc
if (getFusedActivationFunction() != "NONE") return failure(); if (getWeightsFormat() != "DEFAULT") return failure(); // Bias tensor is optional. const bool has_bias = !(!getBias() || getBias().getType().isa<NoneType>()); // Get the tensors. DenseElementsAttr input_tensor, weights_tensor, bias_tensor; if (!matchPattern(getInput(), m_Constant(&input_tensor)) ||
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0)