Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for if_node (0.3 sec)

  1. tensorflow/compiler/jit/rearrange_function_argument_pass_test.cc

      // Check node "if" input and output edges.
      auto node_name_index = g->BuildNodeNameIndex();
      const Node *if_node = node_name_index.at("if");
      ASSERT_NE(if_node, nullptr);
      const Node *input_node;
      TF_CHECK_OK(if_node->input_node(1, &input_node));
      EXPECT_EQ(input_node->name(), "arg1");
      TF_CHECK_OK(if_node->input_node(2, &input_node));
      EXPECT_EQ(input_node->name(), "arg0");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/compilability_check_util.cc

        *uncompilable_reason = s.message();
        return false;
      }
      return true;
    }
    
    // Tests whether 'if_node' is compilable. Every operator in the then_branch and
    // else_branch functions must be compilable for 'if_node' to be compilable.
    bool RecursiveCompilabilityChecker::IsCompilableIf(
        const Node& if_node, FunctionLibraryRuntime* lib_runtime,
        std::vector<StackFrameView>* stack_trace,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/compilability_check_util_test.cc

      Node* if_node;
      TF_ASSERT_OK(
          NodeBuilder(kFunctionalIfNodeName, "If", &root.graph()->flib_def())
              .Input(predicate.node())
              .Input(if_inputs)
              .Attr("then_branch", uncompilable_fn1_attr)
              .Attr("else_branch", uncompilable_fn2_attr)
              .Attr("Tout", {DT_INT32})
              .Finalize(root.graph(), &if_node));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 22.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc

        // Check that the "If" node now has `send_if_pred_node` as attribute
        // _xla_token_input_nodes.
        Node *if_node = node_name_index["if"];
        EXPECT_NE(if_node, nullptr);
        std::vector<string> token_inputs;
        TF_CHECK_OK(
            GetNodeAttr(if_node->def(), "_xla_token_input_nodes", &token_inputs));
        EXPECT_THAT(token_inputs, ::testing::ElementsAre("send_oc_if_pred_if"));
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 41K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/compilability_check_util.h

          std::vector<StackFrameView>* stack_trace,
          NameAttrList* encapsulating_function = nullptr,
          UncompilableNodesMap* uncompilable_nodes = nullptr) const;
      bool IsCompilableIf(const Node& if_node, FunctionLibraryRuntime* lib_runtime,
                          std::vector<StackFrameView>* stack_trace,
                          NameAttrList* encapsulating_function,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

      if_builder.Input(if_inputs);
      NodeDef if_def;
      TF_RETURN_IF_ERROR(if_builder.Finalize(&if_def));
      TF_ASSIGN_OR_RETURN(Node * if_node, host_graph.AddNode(if_def));
      host_graph.AddEdge(recv_pred_node, 0, if_node, 0);
      host_graph.AddEdge(key_placeholder, 0, if_node, 1);
    
      // Convert `host_graph` to function.
      FunctionDef oc_host_graph_fdef;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/NetbiosAddress.java

         * 
         * @param tc
         *            context to use
         * @return {@link jcifs.netbios.NbtAddress#B_NODE},
         *         {@link jcifs.netbios.NbtAddress#P_NODE}, {@link jcifs.netbios.NbtAddress#M_NODE},
         *         {@link jcifs.netbios.NbtAddress#H_NODE}
         *
         * @throws UnknownHostException
         *             if the host cannot be resolved to find out.
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            return groupName;
        }
    
    /** 
     * Checks the node type of this address.
     * @return {@link jcifs.smb1.netbios.NbtAddress#B_NODE},
     * {@link jcifs.smb1.netbios.NbtAddress#P_NODE}, {@link jcifs.smb1.netbios.NbtAddress#M_NODE},
     * {@link jcifs.smb1.netbios.NbtAddress#H_NODE}
     *
     * @throws UnknownHostException if the host cannot be resolved to find out.
     */ 
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  9. common/scripts/kind_provisioner.sh

      C2="${3}"
      C2_KUBECONFIG="${4}"
      POD_TO_POD_AND_SERVICE_CONNECTIVITY="${5}"
    
      C1_NODE="${C1}-control-plane"
      C2_NODE="${C2}-control-plane"
      C1_DOCKER_IP=$(docker inspect -f "{{ .NetworkSettings.Networks.kind.IPAddress }}" "${C1_NODE}")
      C2_DOCKER_IP=$(docker inspect -f "{{ .NetworkSettings.Networks.kind.IPAddress }}" "${C2_NODE}")
      if [ "${POD_TO_POD_AND_SERVICE_CONNECTIVITY}" -eq 1 ]; then
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 19:12:55 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. src/runtime/lfstack.go

    func lfnodeValidate(node *lfnode) {
    	if base, _, _ := findObject(uintptr(unsafe.Pointer(node)), 0, 0); base != 0 {
    		throw("lfstack node allocated from the heap")
    	}
    	if lfstackUnpack(lfstackPack(node, ^uintptr(0))) != node {
    		printlock()
    		println("runtime: bad lfnode address", hex(uintptr(unsafe.Pointer(node))))
    		throw("bad lfnode address")
    	}
    }
    
    func lfstackPack(node *lfnode, cnt uintptr) uint64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top