Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for while_1 (1.17 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. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * other SMB clients will be permitted to read from the target file while
     * this file is open. This constant may be logically OR'd with other share
     * access flags.
     */
        public static final int FILE_SHARE_READ   = 0x01;
    /**
     * When specified as the <tt>shareAccess</tt> constructor parameter,
     * other SMB clients will be permitted to write to the target file while
     * this file is open. This constant may be logically OR'd with other share
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    func.func private @testWhileBody(tensor<*xf32>) -> (tensor<*xf32>)
    
    // Test invalid 'While' operation
    func.func @testWhileResult(tensor<*xf32>) -> (tensor<*xi32>) {
    ^bb0(%arg0: tensor<*xf32>):
      // expected-error @+1 {{'tf.While' op input type tensor<*xf32> is incompatible with result type tensor<*xi32> at index 0}}
      %1 = "tf.While"(%arg0) {
        cond = @testWhileCond,
        body = @testWhileBody,
        is_stateless = false
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  10. 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)
Back to top