- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for isContained (0.21 sec)
-
tensorflow/compiler/mlir/lite/transforms/prepare_quantize.cc
auto& target_func = quant_specs_.target_func; // Skip this function because it isn't the target function from the spec or // in the function while list. if (target_func != func_name && !llvm::is_contained(quantize_allowlist_, func_name)) { return false; } auto has_quantize_op = [&](const Value arg) { return (arg.hasOneUse() && llvm::isa<quantfork::QuantizeCastOp>(*arg.user_begin())); };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.h
void SetupAllStates(); // Returns Whether the constant is a weight, which shouldn't be shared by // different ops. bool IsWeight(Operation* cst) { return llvm::is_contained(weights_, cst); } // Returns all the related quantization constraints of the op. std::unique_ptr<OpQuantSpec> GetQuantSpec(Operation* op); std::unique_ptr<OpQuantScaleSpec> GetQuantScaleSpec(Operation* op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 11:42:17 UTC 2024 - 16.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h
// // Also note that the simpler approach of overloading // IsContainerTest(typename C::const_iterator*) and // IsContainerTest(...) doesn't work with Visual Age C++ and Sun C++. typedef int IsContainer; template <class C> IsContainer IsContainerTest(int /* dummy */, typename C::iterator* /* it */ = NULL, typename C::const_iterator* /* const_it */ = NULL) { return 0; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 43.1K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h
// // Also note that the simpler approach of overloading // IsContainerTest(typename C::const_iterator*) and // IsContainerTest(...) doesn't work with Visual Age C++ and Sun C++. typedef int IsContainer; template <class C> IsContainer IsContainerTest(int /* dummy */, typename C::iterator* /* it */ = NULL, typename C::const_iterator* /* const_it */ = NULL) { return 0; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 43.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
llvm::to_vector(op.getBroadcastDimensions()); while (input_dims.size() < output_rank) { int32_t dim_to_expand = 0; for (int32_t i = 0; i < output_rank; ++i) { if (!llvm::is_contained(input_dims, i)) { dim_to_expand = i; break; } } TensorType dim_type = input_type.cloneWith({static_cast<int64_t>(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) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-printers.h
template <typename T> void UniversalPrint(const T& value, ::std::ostream* os); // Used to print an STL-style container when the user doesn't define // a PrintTo() for it. template <typename C> void DefaultPrintTo(IsContainer /* dummy */, false_type /* is not a pointer */, const C& container, ::std::ostream* os) { const size_t kMaxCount = 32; // The maximum number of elements to print. *os << '{';
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 30.9K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-printers.h
template <typename T> void UniversalPrint(const T& value, ::std::ostream* os); // Used to print an STL-style container when the user doesn't define // a PrintTo() for it. template <typename C> void DefaultPrintTo(IsContainer /* dummy */, false_type /* is not a pointer */, const C& container, ::std::ostream* os) { const size_t kMaxCount = 32; // The maximum number of elements to print. *os << '{';
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 30.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
absl::flat_hash_map<int32_t, const tflite::OperatorT*> defining_op; for (const auto& op : subgraph.operators) { for (int32_t output : op->outputs) { if (!llvm::is_contained(input_indices, output)) { defining_op[output] = op.get(); } } } std::vector<const tflite::OperatorT*> queue; for (int32_t output : output_indices) {
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/tensorflow/ir/tf_ops_n_z.cc
} } // If strides are constants, verify that none of the element is zero. DenseIntElementsAttr strides; if (matchPattern(op.getStrides(), m_Constant(&strides))) { if (llvm::is_contained(strides.getValues<APInt>(), 0)) return op.emitOpError("requires non-zero strides"); } // Use bit compares to ensure ellipsis_mask is 0 or a power of 2, i.e. there
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/tf2xla/transforms/legalize_tf.cc
squeeze_dims.push_back(squeeze_dim); } // Collect the unsqueezed dimensions. llvm::SmallVector<Value> dims; for (int64_t i = 0; i != input_rank; ++i) { if (llvm::is_contained(squeeze_dims, i)) continue; dims.push_back(rewriter.create<tensor::DimOp>(op.getLoc(), input, i)); } auto from_extents = rewriter.create<tensor::FromElementsOp>(op.getLoc(), dims);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0)