Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 245 for terminator (0.24 sec)

  1. src/image/gif/writer.go

    	for i, c := range data {
    		if err := b.WriteByte(c); err != nil {
    			return i, err
    		}
    	}
    	return len(data), nil
    }
    
    func (b blockWriter) close() {
    	// Write the block terminator (0x00), either by itself, or along with a
    	// pending sub-block.
    	if b.e.buf[0] == 0 {
    		b.e.writeByte(0)
    	} else {
    		n := uint(b.e.buf[0])
    		b.e.buf[n+1] = 0
    		b.e.write(b.e.buf[:n+2])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:38:09 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

                                    executor_graph.getBody().end());
    
        // Add terminator of tf_executor::graph
        rewriter.setInsertionPointToEnd(&executor_graph.getBody().front());
        rewriter.create<tf_executor::FetchOp>(loc);
    
        // Add terminator of func
        rewriter.setInsertionPointToEnd(&func.getBody().front());
        rewriter.create<func::ReturnOp>(loc);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

      let arguments = (ins
        MlrtPromiseType:$promise,
        MlrtFutureType:$tensor
      );
    
      let assemblyFormat = "operands attr-dict";
    }
    
    def PromiseReturnOp: TensorflowMlrt_Op<"promise_return", [Terminator]> {
      let summary = "Set a tensor in a promise and return from a function with no output";
    
      let description = [{
        Set a tensor in a promise and return from a function with no output.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      }
      if (auto launch_op = dyn_cast<tf_device::LaunchOp>(op)) {
        auto terminator = launch_op.GetBody().getTerminator();
        return RefineTypeForPassThroughOperands(op, terminator->getOperands(),
                                                op->getResults());
      }
      if (auto cluster_op = dyn_cast<tf_device::ClusterOp>(op)) {
        auto terminator = cluster_op.GetBody().getTerminator();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

        const int64_t output_names_size = output_names.size();
        TF_RET_CHECK(output_names_size == num_data_results)
            << "output names (" << output_names.size()
            << ") != terminator operands (" << num_data_results << ")";
        llvm::DenseMap<Operation*, llvm::StringRef> output_op_to_name;
        llvm::StringMap<Operation*> name_to_op;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

        // those that are only self-dependent. For `Fetch` op make every resource
        // dependent in any case to ensure that all side-effecting ops in
        // `Graph` feed into `Fetch` (its terminator).
        for (auto& entry : per_resource_access_info_) {
          ResourceId other_id = entry.getFirst();
          if (!op_side_effect_collector_.IsOnlySelfDependent(other_id) ||
              is_fetch_op)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

          }
        }
    
        // Verify that all operations except the terminator have exactly one
        // result of type supported by TFLite (or is a ControlType, which
        // will be removed later by ExtractControlEdges.)
        for (auto& inst : bb) {
          if (inst.hasTrait<mlir::OpTrait::IsTerminator>()) break;
    
          for (auto result : inst.getResults()) {
    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/crypto/x509/parser.go

    		}
    		return string(value), nil
    	case cryptobyte_asn1.Tag(asn1.TagBMPString):
    		if len(value)%2 != 0 {
    			return "", errors.New("invalid BMPString")
    		}
    
    		// Strip terminator if present.
    		if l := len(value); l >= 2 && value[l-1] == 0 && value[l-2] == 0 {
    			value = value[:l-2]
    		}
    
    		s := make([]uint16, 0, len(value)/2)
    		for len(value) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  9. src/archive/tar/writer_test.go

    		// The prefix field should never appear in the GNU format.
    		var blk block
    		copy(blk[:], b.Bytes())
    		prefix := string(blk.toUSTAR().prefix())
    		prefix, _, _ = strings.Cut(prefix, "\x00") // Truncate at the NUL terminator
    		if blk.getFormat() == FormatGNU && len(prefix) > 0 && strings.HasPrefix(name, prefix) {
    			t.Errorf("test %d, found prefix in GNU format: %s", i, prefix)
    		}
    
    		tr := NewReader(&b)
    		hdr, err := tr.Next()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/MapMakerInternalMap.java

        void readEntries(ObjectInputStream in) throws IOException, ClassNotFoundException {
          while (true) {
            K key = (K) in.readObject();
            if (key == null) {
              break; // terminator
            }
            V value = (V) in.readObject();
            delegate.put(key, value);
          }
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
Back to top