- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for IsConstant (0.13 sec)
-
tensorflow/compiler/jit/deadness_analysis_test.cc
root.WithOpName("capture_enter_outer"), captured, "outer_loop", ops::internal::Enter::Attrs().IsConstant(true)); Output capture_enter_inner = ops::internal::Enter( root.WithOpName("capture_enter_inner"), capture_enter_outer, "inner_loop", ops::internal::Enter::Attrs().IsConstant(true)); Output mul0 = ops::Mul(root.WithOpName("mul0"), div1_inner.induction_var, capture_enter_inner);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 51.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/reduce_while_operands.cc
auto def_op = operand.getDefiningOp(); if (consumed_ops.contains(def_op)) continue; queue.push_back(def_op); consumed_ops.insert(def_op); } } } inline bool IsConstant(Operation *op) { return matchPattern(op, m_Constant()); } bool AllOperationSafe(Block &block) { auto walk_result = block.walk([&](Operation *op) { // op has SideEffect.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.4K bytes - Viewed (0) -
tensorflow/compiler/aot/embedded_protocol_buffers.cc
/*AddNull=*/false); new llvm::GlobalVariable( *module, protobuf_array_initializer->getType(), /*isConstant=*/true, llvm::GlobalValue::ExternalLinkage, protobuf_array_initializer, AsStringRef(*protobuf_array_symbol_name)); } static string CreateCPPShimExpression( absl::string_view qualified_cpp_protobuf_name,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 00:48:41 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/asm/ClassDependenciesVisitor.java
return (access & Opcodes.ACC_PRIVATE) == 0; } private static boolean isAccessibleConstant(int access, Object value) { return isConstant(access) && isAccessible(access) && value != null; } private static boolean isConstant(int access) { return (access & Opcodes.ACC_FINAL) != 0 && (access & Opcodes.ACC_STATIC) != 0; } public String getDependencyToAllReason() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 27 13:49:15 UTC 2024 - 11.7K bytes - Viewed (0) -
tensorflow/compiler/jit/clone_constants_for_better_clustering.cc
return total_elements < kSmallTensorThreshold; } // We only clone small constants since we want to avoid increasing memory // pressure on GPUs. absl::StatusOr<bool> IsSmallConstant(Node* n) { if (!n->IsConstant()) { return false; } return IsConstantSmall(n); } bool IsInPlaceOp(absl::string_view op_name) { return op_name == "InplaceUpdate" || op_name == "InplaceAdd" ||
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 7.3K bytes - Viewed (0) -
tensorflow/compiler/jit/node_matchers_test.cc
Output enter = ops::internal::Enter( root.WithOpName("enter"), ops::Placeholder(root.WithOpName("data"), DT_FLOAT), "frame_name", ops::internal::Enter::Attrs{}.IsConstant(true)); EXPECT_THAT(enter.node(), NodeWith(Attr("is_constant", true))); EXPECT_EQ(Explain(enter.node(), NodeWith(Attr("is_constant", false))), "attribute named is_constant does not match value; expected: "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 14:43:57 UTC 2024 - 9.1K bytes - Viewed (0) -
tensorflow/compiler/jit/partially_decluster_pass.cc
// encounter F1, decluster it and so on. if (node_on_cluster_edge) { bool must_compile_node; TF_RETURN_IF_ERROR(MustCompileNode(n, &must_compile_node)); if (!must_compile_node) { if (n->IsConstant()) { // We must decluster Const nodes that have an input control edge from // a different device, because this node may be part of the // co-ordination of while loops between devices.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 11:36:41 UTC 2024 - 15.7K bytes - Viewed (0) -
tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.cc
if (!slice_size_has_error) { return false; } // No point in rewriting slices that have both size and begin as constants. return !slice_inputs->begin.node()->IsConstant(); } Status FindAndRewriteSlices(Graph* g, bool* changed) { std::vector<Node*> slices_to_rewrite; for (Node* n : g->nodes()) { TF_ASSIGN_OR_RETURN(bool is_rewritable, ShouldRewriteSlice(n));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 13.8K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 12:19:41 UTC 2024 - 85.3K bytes - Viewed (0) -
tensorflow/compiler/jit/extract_outside_compilation_pass.cc
} return absl::OkStatus(); } Status CopyOutsideCompilationConstNodes( Graph* g, const string& outside_compilation_attr_name) { for (Node* n : g->op_nodes()) { if (!n->IsConstant() || !HasNodeAttr(n->def(), outside_compilation_attr_name)) { continue; } std::vector<const Edge*> out_edges(n->out_edges().begin(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 104.7K bytes - Viewed (0)