- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 159 for typeName (0.18 sec)
-
tensorflow/compiler/jit/node_matchers.h
// order. template <typename... Ts> impl::NodeMatcherProperties CtrlDeps(Ts... control_deps) { return impl::CtrlDeps({control_deps...}); } // Matches a constant node with value `val`. impl::NodeMatcherProperties ConstantValue( const ::tensorflow::Input::Initializer& val); // The main gmock matcher. See file comment for example usage. template <typename... Ts>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 8.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize.cc
namespace mlir::quant::stablehlo { #define GEN_PASS_DEF_QUANTIZEPASS #include "tensorflow/compiler/mlir/quantization/stablehlo/passes/passes.h.inc" namespace { // Base struct for quantization. template <typename ConcreteT, typename RootOpT = quantfork::DequantizeCastOp> struct StableHloQuantizationBase : public StableHloQuantizationPattern<ConcreteT, quantfork::QuantizeCastOp, quantfork::DequantizeCastOp,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 07:08:19 UTC 2024 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc
: public impl::RewriteTPUEmbeddingOpsPassBase<RewriteTPUEmbeddingOps> { void runOnOperation() override; }; // Rewrites the given op to `OpT` op after adding the given operand at the end. template <typename OpT> OpT AddOperandAndRewriteAs(Operation* op, Value operand, NamedAttrList attr, OpBuilder* builder) { builder->setInsertionPoint(op); auto operands = llvm::to_vector<4>(op->getOperands());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 22:55:42 UTC 2024 - 4.5K bytes - Viewed (0) -
src/go/types/mono.go
// vertex index. nameIdx map[*TypeName]int } type monoVertex struct { weight int // weight of heaviest known path to this vertex pre int // previous edge (if any) in the above path len int // length of the above path // obj is the defined type or type parameter represented by this // vertex. obj *TypeName } type monoEdge struct { dst, src int weight int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 9.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/mutation/mock_test.go
objectType: objectType, resolver: resolver, } } func (m *mockTypeRef) HasTrait(trait int) bool { return common.ObjectTraits|trait != 0 } func (m *mockTypeRef) TypeName() string { return m.objectType.TypeName() } func (m *mockTypeRef) CELType() *types.Type { return types.NewTypeTypeWithParam(m.objectType) } func (m *mockTypeRef) Field(name string) (*types.FieldType, bool) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 24 00:01:35 UTC 2024 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_arith_ops_folder.h
// Fold Arithmetic Op if one of the operands is a constant known to be an // Identity (e.g. X+0, X*1, etc...). For commutative operations fold if // known identity value is either lhs or rhs. template < typename OpT, typename std::enable_if<llvm::is_one_of< OpT, AddV2Op, SubOp, MulOp, DivOp, RealDivOp>::value>::type * = nullptr> OpFoldResult IdentityArithmeticOpFolder(OpT arithmetic_op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/test_matchers_test.cc
constexpr char kOkStatus[] = "ok"; const int kArbitraryIntResult = 37; template <typename T> tsl::StatusOr<T> success(T t) { return t; } absl::StatusOr<int> success() { return kArbitraryIntResult; } template <typename T> tsl::StatusOr<T> filtered(T t) { return tsl::StatusOr<T>(tensorflow::CompileToHloGraphAnalysisFailedError()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 20:29:34 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/ir/ConvertSimQuant.cc
: public impl::QuantConvertSimulatedQuantBase<ConvertSimulatedQuantPass> { void runOnOperation() override; }; /// Base class rewrites ConstFakeQuant into a qbarrier/dbarrier pair. template <typename ConcreteRewriteClass, typename FakeQuantOp> class FakeQuantRewrite : public OpRewritePattern<FakeQuantOp> { public: using OpRewritePattern<FakeQuantOp>::OpRewritePattern; FakeQuantRewrite(MLIRContext *ctx, bool *hadFailure)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.cc
CostFunction cost_function) { auto r = registry.try_emplace(op_name, std::move(cost_function)); assert(r.second); (void)r; } template <typename OpType, typename F> void RegisterCostFunction(CostFunctionRegistry& registry, F f) { RegisterCostFunction( registry, OpType::getOperationName().str(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.6K bytes - Viewed (0) -
pkg/kube/krt/index.go
i.mu.RLock() defer i.mu.RUnlock() log.Errorf("> BEGIN DUMP (index %v[%T])", i.c.(internalCollection[I]).name(), ptr.TypeName[K]()) for k, v := range i.objects { log.Errorf("key %v: %v", k, v.UnsortedList()) } log.Errorf("< END DUMP (index %v[%T]", i.c.(internalCollection[I]).name(), ptr.TypeName[K]()) } // NewNamespaceIndex is a small helper to index a collection by namespace
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 04:53:45 UTC 2024 - 2.8K bytes - Viewed (0)