Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for WriteRecord (0.2 sec)

  1. src/net/http/fcgi/fcgi.go

    		return err
    	}
    	return nil
    }
    
    func (r *record) content() []byte {
    	return r.buf[:r.h.ContentLength]
    }
    
    // writeRecord writes and sends a single record.
    func (c *conn) writeRecord(recType recType, reqId uint16, b []byte) error {
    	c.mutex.Lock()
    	defer c.mutex.Unlock()
    	c.buf.Reset()
    	c.h.init(recType, reqId, len(b))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 11 18:51:39 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/debugging/dump_tensor_op.cc

        if (!enabled_) return;
    
        const Tensor& tensor_data = ctx->input(0);
    
        TensorProto tensor_proto;
        tensor_data.AsProtoTensorContent(&tensor_proto);
    
        OP_REQUIRES_OK(ctx, tensor_data_writer_->WriteRecord(
                                tensor_proto.SerializeAsString()));
      }
    
     private:
      bool enabled_;
      std::unique_ptr<tsl::WritableFile> tensor_data_file_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 03:12:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top