Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for next_itr (0.27 sec)

  1. tensorflow/compiler/jit/xla_cluster_util_test.cc

      ops::internal::Enter enter(s.WithOpName("init_value"), init_value, loop_name);
      ops::Merge merge(s.WithOpName("merge"), {init_value, init_value});
      Output next_iteration =
          ops::NextIteration(s.WithOpName("next_itr"), merge.output);
      return s.graph()->UpdateEdge(next_iteration.node(), 0, merge.output.node(),
                                   1);
    }
    
    TEST(NodesRelatedToRefVariables, Cycles) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.cc

    namespace mlir {
    namespace TF {
    
    llvm::SmallVector<ResourceHandleValueAndId, 4>
    _TfrtGetResourceOp::GetResourceHandleValueAndIdList(
        llvm::SmallDenseMap<ResourceHandle, int64_t> &resource_handle_id_map,
        int64_t &next_id) {
      llvm::SmallVector<ResourceHandleValueAndId, 4> resource_vec;
      llvm::StringRef device = GetDeviceOrEmpty(getOperation());
    
      for (const auto &iter : llvm::enumerate(getResults())) {
        auto index = iter.index();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics.proto

    syntax = "proto3";
    
    package tensorflow.calibrator;
    
    option cc_enable_arenas = true;
    
    // Calibration algorithm's collecting statistics.
    // NEXT_ID: 4
    message CalibrationStatistics {
      message MinMaxStatistics {
        // global minimum of all sample datasets.
        float global_min = 1;
    
        // global maximum of all sample datasets.
        float global_max = 2;
      }
    
      message AverageMinMaxStatistics {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 16 04:33:52 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/shape_inference.cc

          // directly.
          auto iter = merge_to_next_iteration.find(n);
          if (iter != merge_to_next_iteration.end()) {
            const Node *next_iter = iter->second, *node = next_iter;
            do {
              TF_RETURN_IF_ERROR(node->input_node(0, &node));
            } while (node->IsIdentity());
            const Node* switch_input;
            bool is_loop_invariant = node->IsSwitch() &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h

          llvm::SmallDenseMap<mlir::TF::ResourceHandle, int64_t>&
              resource_handle_id_map,
          int64_t& next_id) {
        llvm::SmallVector<mlir::TF::ResourceHandleValueAndId> resource_vec;
        for (Value resource :
             mlir::tf_type::filter_resources(this->getOperation()->getResults())) {
          resource_vec.push_back({resource, next_id++});
        }
        return resource_vec;
      }
    };
    
    }  // namespace TF
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterators.java

          return !queue.isEmpty();
        }
    
        @Override
        @ParametricNullness
        public T next() {
          PeekingIterator<T> nextIter = queue.remove();
          T next = nextIter.next();
          if (nextIter.hasNext()) {
            queue.add(nextIter);
          }
          return next;
        }
      }
    
      private static class ConcatenatedIterator<T extends @Nullable Object> implements Iterator<T> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 14:46:32 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Iterators.java

          return !queue.isEmpty();
        }
    
        @Override
        @ParametricNullness
        public T next() {
          PeekingIterator<T> nextIter = queue.remove();
          T next = nextIter.next();
          if (nextIter.hasNext()) {
            queue.add(nextIter);
          }
          return next;
        }
      }
    
      private static class ConcatenatedIterator<T extends @Nullable Object> implements Iterator<T> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 14:46:32 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

        // yield.
        SmallVector<Value, 4> new_results(old_num_operands);
        int next_idx = 0;
        for (int op_idx : llvm::seq<int>(0, old_num_operands))
          if (!removed_operand.test(op_idx))
            new_results[op_idx] = new_while_op.getResult(next_idx++);
    
        rewriter.replaceOp(while_op, new_results);
        return success();
      }
    };
    
    }  // anonymous namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      auto b = ops::Placeholder(root.WithOpName("B"), DT_FLOAT);
      auto c = ops::Add(root.WithOpName("C"), a, b);
      auto enter = ops::internal::Enter(root, c, "aframe");
      auto next_iter = ops::NextIteration(root, enter);
      auto exit = ops::internal::Exit(root, next_iter);
      auto d = ops::Add(root.WithOpName("D"), c, exit);
    
      std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global()));
      TF_EXPECT_OK(root.ToGraph(graph.get()));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  10. src/internal/trace/traceviewer/static/trace_viewer_full.html

    ng++]=e}function h(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function d(t,e,a,i){var n=t.avail_in;return n>i&&(n=i),0===n?0:(t.avail_in-=n,z.arraySet(e,t.input,t.next_in,n,a),1===t.state.wrap?t.adler=S(t.adler,e,n,a):2===t.state.wrap&&(t.adler=E(t.adler,e,n,a)),t.next_in+=n,t.total_in+=n,n)}function f(t,e){var a,i,n=t.max_chain_length,r=t.strstart,s=t.prev_length,o=t.nice_match,l=t.strstart>t.w_size-it?t.strstart-(t.w_size-it):0,h=t.window,d=t.w_mask,f=t.prev,_=t...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
Back to top