Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for nFront (0.1 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

        RegionRange regions) {
      for (Region* region : regions) {
        assert(llvm::hasSingleElement(*region) && "Expected single block region");
        Block& front = region->front();
        auto old_return = front.getTerminator();
        assert(old_return->getNumOperands() == op_->getNumResults());
        auto new_return_operands = llvm::to_vector<4>(old_return->getOperands());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

                  device_cluster, &if_op.getThenBranch().front(),
                  {host_if.getThenBranch().front().getTerminator()},
                  core_to_compilation_key, core_to_device_ordinal,
                  /*control_above=*/true, is_map_oc, communication_key_index)))
            return WalkResult::interrupt();
          if (failed(MoveToHostMultiCluster(
                  device_cluster, &if_op.getElseBranch().front(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

        bool enable_per_channel_quantization) {
      // A map to find an attribute from its identifier.
      llvm::StringMap<Attribute> identifier_to_attr;
    
      for (Operation& inner_op : float_func.getBody().front().getOperations()) {
        if (!inner_op.hasAttr(kAttrMapAttribute)) continue;
        // Insert quantization related attribute if they exists. Quantization
        // attributes are generated in the prepare pass so the attr_map doesn't
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        if (!variant_ty) return failure();
        ArrayRef<TensorType> subtypes = variant_ty.getSubtypes();
        if (subtypes.size() != 1) return failure();
        RankedTensorType list_element_ty =
            subtypes.front().dyn_cast<RankedTensorType>();
        if (!list_element_ty) return failure();
    
        // Extract tensor elements for the TensorList and construct result type
        // based on the number of elements and element shape.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/init.go

    	// modules may be disabled (GO111MODULE=auto) or commands may run in a
    	// limited module mode.
    	AutoRoot Root = iota
    
    	// NoRoot is used for commands that run in module mode and ignore any go.mod
    	// file the current directory or in parent directories.
    	NoRoot
    
    	// NeedRoot is used for commands that must run in module mode and don't
    	// make sense without a main module.
    	NeedRoot
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      Operation* cond_caller_0 =
          MakeFuncCaller(builder, orig_while_op->getLoc(), orig_cond_func,
                         loop_operands_0, /*flag_for_inlining=*/false);
      Value C_0 = cond_caller_0->getResults().front();
    
      // Call the non_tpu function to update the loop counters. This is still
      // part of the i=0 loop iteration.
      builder.setInsertionPointAfter(cond_caller_0);
      Operation* non_tpu_caller_0 =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/deadness_analysis.cc

      // Exit nodes shall all be from the same frame, as we process a frame at a
      // time. So, one vector is enough.
      std::vector<Node*> ready_exits;
      while (!ready.empty()) {
        Node* curr_node = ready.front();
        ready.pop_front();
    
        VLOG(4) << "Visiting " << curr_node->name();
        order->push_back(curr_node);
    
        for (const Edge* out_edge : curr_node->out_edges()) {
          Node* out = out_edge->dst();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

        return op->getResults();
      }
      mlir::Region region;
      region.push_back(new mlir::Block);
      auto saved_pos = op_builder.saveInsertionPoint();
      op_builder.setInsertionPointToEnd(&region.front());
      mlir::Operation* cloned_op = op_builder.clone(*op);
      // Add the yield operation.
      op_builder.create<mlir::TFL::YieldOp>(op_loc, cloned_op->getResults());
      // Now emit into the function body again.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  9. src/crypto/tls/handshake_client_test.go

    	}
    	deleteTicket := func() {
    		ticketKey := clientConfig.ClientSessionCache.(*lruSessionCache).q.Front().Value.(*lruSessionCacheEntry).sessionKey
    		clientConfig.ClientSessionCache.Put(ticketKey, nil)
    	}
    	corruptTicket := func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      NameAttrList c_name_attr;
      c_name_attr.set_name("UncompilableFn");
    
      ops::PartitionedCall c(root.WithOpName("C"), {a}, {DT_FLOAT}, c_name_attr);
      Output d = ops::Add(root.WithOpName("D"), b.output.front(), c.output.front());
    
      TF_ASSERT_OK(root.ToGraph(graph.get()));
      TF_ASSERT_OK(
          MarkForCompilationPassTestHelper::MarkForCompilation(&graph, &flib_def));
      auto clusters = GetClusters(*graph);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
Back to top