Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for while_1 (0.19 sec)

  1. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      return success();
    }
    
    namespace {
    // Canonicalize While op so that results and operands match and external values
    // are via implicit capture rather than via block args.
    struct WhileResultOperandsMatchAndImplicitCapture
        : public OpRewritePattern<WhileOp> {
      using OpRewritePattern<WhileOp>::OpRewritePattern;
    
      LogicalResult matchAndRewrite(WhileOp while_op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

              while_op.getInput().getTypes(), while_op.getOutput().getTypes(),
              while_op.getBody().getArgumentTypes());
          return PropagateShapeToRegions(compatible_types,
                                         {&while_op.getCond(), &while_op.getBody()},
                                         max_iterations);
        }
        return PropagateShapeToRegions(while_op.getInput().getTypes(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

          new_while_operands.push_back(while_op.getOperand(op_idx));
          new_result_types.push_back(while_op.getResult(op_idx).getType());
        }
    
        // Create the new while operation.
        auto new_while_op = rewriter.create<WhileRegionOp>(
            while_op.getLoc(), new_result_types, new_while_operands,
            while_op->getAttrs());
    
        // Move region bodies to the new while.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        for (auto type : while_op->getOperandTypes()) {
          if (mlir::isa<TupleType>(type)) return failure();
        }
    
        // Creates a TF::WhileRegionOp to replace the mhlo::WhileOp. HLO WhileOp
        // currently doesn't support stateless and shape invariant, so these
        // parameters are set to the default values.
        auto new_while = rewriter.create<TF::WhileRegionOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

      // Append lifted args' types to While node's T attribute.
      TF_ASSIGN_OR_RETURN(
          std::vector<DataType> data_types,
          UpdateTypesAttribute(lifted_arg_nodes_and_outside_compilation_nodes, "T",
                               n));
    
      // Add edges from outside compilation nodes to While node.
      std::vector<Node*> outside_compilation_nodes;
      outside_compilation_nodes.reserve(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        hand create a barrier at the end of while loop body thus blocking any
        parallelism across iterations.
    
        For example, the following while loop body has a `%barrier` at the end.
        Although there is no data/control dependency between `tf.AssignVariableOp`
        for `%arg0` to `tf.AssignVariableOp` for `%arg1` across any iteration, the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

          }
          if (auto whileOp = dyn_cast<mlir::TFL::WhileOp>(inst)) {
            if (inst->getNumOperands() != inst->getNumResults()) {
              inst->emitOpError(
                  "number of operands and results don't match, only canonical "
                  "TFL While supported");
              return std::nullopt;
            }
            return BuildWhileOperator(whileOp, operands, results);
          }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/LocalCache.java

          }
          if (map.usesValueReferences()) {
            clearValueReferenceQueue();
          }
        }
    
        void clearKeyReferenceQueue() {
          while (keyReferenceQueue.poll() != null) {}
        }
    
        void clearValueReferenceQueue() {
          while (valueReferenceQueue.poll() != null) {}
        }
    
        // recency queue, shared by expiration and eviction
    
        /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/LocalCache.java

          }
          if (map.usesValueReferences()) {
            clearValueReferenceQueue();
          }
        }
    
        void clearKeyReferenceQueue() {
          while (keyReferenceQueue.poll() != null) {}
        }
    
        void clearValueReferenceQueue() {
          while (valueReferenceQueue.poll() != null) {}
        }
    
        // recency queue, shared by expiration and eviction
    
        /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  10. api/maven-api-model/src/main/mdo/maven.mdo

              <description>
                Indicates the dependency is optional for use of this library. While the
                version of the dependency will be taken into account for dependency calculation if the
                library is used elsewhere, it will not be passed on transitively. Note: While the type
                of this field is {@code String} for technical reasons, the semantic type is actually
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Apr 23 13:29:46 UTC 2024
    - 115.1K bytes
    - Viewed (0)
Back to top